Method and/or system for transforming between trees and arrays

ABSTRACT

Embodiments of articles, apparatuses, devices and/or systems for manipulating hierarchical sets of data are disclosed. In particular embodiments, the hierarchical information may be expressed as trees. Such hierarchical information expressed as a tree may be transformed to an array. Likewise, hierarchical information expressed in an array may be expanded as a tree.

RELATED APPLICATION

This application claims priority to U.S. Provisional Patent Application Ser. No. 60/667,448 filed Mar. 31, 2005, entitled METHOD AND/OR SYSTEM FOR TRANSFORMING BETWEEN TREES AND ARRAYS, assigned to the assignee of claimed subject matter.

BACKGROUND

This disclosure is related to hierarchical data arrangements and, more particularly, to manipulating such data arrangements.

In a variety of fields, data or a set of data, may be represented in a hierarchical fashion. This form of representation may, for example, convey information, such as particular relationships between particular pieces of data and the like. However, manipulating such data representations is not straight-forward, particularly where the data is arranged in a complex hierarchy. Without loss of generality, one example may include a relational database. Techniques for performing operations on such a database, for example, are computationally complex or otherwise cumbersome. A continuing need, therefore, exists for additional techniques for manipulating data hierarchies.

BRIEF DESCRIPTION OF THE DRAWINGS

Subject matter is particularly pointed out and distinctly claimed in the concluding portion of the specification. Claimed subject matter, however, both as to organization and method of operation, together with objects, features, and advantages thereof, may best be understood by reference of the following detailed description when read with the accompanying drawings in which:

FIG. 1 is a schematic diagram of an unordered tree;

FIG. 2 is a table illustrating an embodiment of a relationship between binary edge labeled trees (BELTs) and positive natural numerals;

FIG. 3 is a schematic diagram of an unlabeled tree according to an embodiment;

FIG. 4 is a flow diagram illustrating a process of transforming between a tree and a condensed array according to an embodiment;

FIGS. 5 through 12 are schematic diagrams of trees illustrating a process to transform between a tree and a condensed array according to an embodiment;

FIG. 13A is a flow diagram illustrating a process of transforming between a condensed array and a tree according to a particular embodiment;

FIG. 13B is an array associating frontier nodes of a BELT with numerals according to an embodiment;

FIGS. 14 through 18 are schematic diagrams of trees illustrating a process to transform between a BELT and a condensed array according to an embodiment;

FIGS. 19 through 24 are schematic diagrams of trees illustrating a transformation of an unlabeled tree to a BELT according to an embodiment;

FIG. 25 is a schematic diagram associating particular node label values with portions of BELTs according to an embodiment of the BELT shown in FIG. 19;

FIG. 26 is a flow diagram illustrating a process of associating node label values with BELTs and/or portions of BELTs according to an embodiment;

FIG. 27 is a table illustrating a particular embodiment of an association between numerals and BELTs and/or portions of BELTs;

FIG. 28 illustrates a representation of node label values as a portion of a BELT according to an embodiment; and

FIG. 29 is a table illustrating a particular embodiment of an association between natural numerals and BELTs.

LIST OF APPENDICES

Appendix I comprises an array of pre-computed non-composite numerals.

DETAILED DESCRIPTION

In the following detailed description, numerous specific details are set forth to provide a thorough understanding of claimed subject matter. However, it will be understood by those skilled in the art that claimed subject matter may be practiced without these specific details. In other instances, well-known methods, procedures, components and/or circuits have not been described in detail so as not to obscure claimed subject matter.

Some portions of the detailed description which follow are presented in terms of algorithms and/or symbolic representations of operations on data bits or binary digital signals stored within a computing system, such as within a computer or computing system memory. These algorithmic descriptions and/or representations are the techniques used by those of ordinary skill in the data processing arts to convey the substance of their work to others skilled in the art. An algorithm is here, and generally, considered to be a self-consistent sequence of operations and/or similar processing leading to a desired result. The operations and/or processing involve physical manipulations of physical quantities. Typically, although not necessarily, these quantities may take the form of electrical and/or magnetic signals capable of being stored, transferred, combined, compared and/or otherwise manipulated. It has proven convenient, at times, principally for reasons of common usage, to refer to these signals as bits, data, values, elements, symbols, characters, terms, numbers, numerals and/or the like. It should be understood, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels. Unless specifically stated otherwise, as apparent from the following discussion, it is appreciated that throughout this specification discussions utilizing terms such as “processing,” “computing,” “calculating,” “transforming,” “factoring,” “associating,” “substituting,” “determining” and/or the like refer to the actions and/or processes of a computing platform, such as a computer or a similar electronic computing device, that manipulates and/or transforms data represented as physical electronic and/or magnetic quantities and/or other physical quantities within the computing platform's processors, memories, registers, and/or other information storage, transmission, and/or display devices. Further, unless specifically stated otherwise, processes described herein, with reference to flow diagrams or otherwise, may also be executed and/or controlled, in whole or in part, by such a computing platform.

In a variety of fields, data or a set of data, may be represented in a hierarchical fashion. This form of representation may, for example, convey information, such as particular relationships or patterns between particular pieces of data or groups of data and the like. However, manipulating and/or even recognizing specific data representations or patterns is not straight-forward, particularly where the data is arranged in a complex hierarchy. Without loss of generality, examples may include a database and further, without limitation, a relational database. Techniques for performing operations on such databases or recognizing specific patterns, for example, are computationally complex, time consuming, and/or otherwise cumbersome. A need, therefore, continues to exist for improved techniques for performing such operations and/or recognizing such patterns.

As previously discussed, in a variety of fields, it is convenient and/or desirable to represent data, a set of data and/or other information in a hierarchical fashion. In this context, such a hierarchy of data shall be referred to as a “tree.” In a particular embodiment, a tree may comprise a finite, rooted, connected and acyclic graph. Likewise, such trees may be either ordered or unordered. Here, ordered refers to the notion that there is an ordering or precedence among nodes attached to a common node corresponding to the order of the attached nodes shown in a graphical illustration. An unordered tree is illustrated here, for example, in FIG. 1 by embodiment 100. As illustrated, the root of this particular embodiment encompasses node 105. In addition to 105, there are eight other nodes designated 110 to 145, respectively. Likewise, the nodes are connected by branches referred to, in this context, as edges. Thus, the nodes of this tree are connected by eight edges. This embodiment, therefore, illustrates a finite tree that is rooted by node 105. Furthermore, the nodes are connected, meaning, in this context, that a path exists between any two nodes of the tree. The tree is likewise acyclic, meaning here, that no path in the tree forms a complete non-backtracking loop.

As previously suggested, in a variety of contexts, it may be convenient and/or desirable to represent a hierarchy of data and/or other information using a structure, such as the embodiment illustrated in FIG. 1. One particular embodiment, without loss of generality, of a tree may include edges that are labeled with data and/or other values represented as “edge label values.” Similarly, in another particular embodiment, a tree may include nodes that are labeled with data and/or values represented as “node label values.” However, these are merely examples of label values that may be associated with elements of a tree to store, represent and/or hold information, and claimed subject matter is not limited in these respects. Additionally, a tree storing, holding and/or representing information in nodes and edges may comprise a “feature tree” in which information may be stored, held and/or represented in node label values and/or edge label values. Accordingly, edge labeled trees and node labeled trees comprise particular types of trees in a greater class of trees known as feature trees. In one particular embodiment, such data and/or values may be limited to a particular set of data. For example, in this context, a binary edge labeled tree (BELT) refers to a tree in which the data and/or values comprise binary data, that is, in this example, either a binary one or a binary zero. Likewise, alternatively, the edges of a tree may be labeled with three values, such as 0, 1, 2. Continuing, the edges may be labeled with four values, five values, etc. In this context, the class of all finite trees in which the edges are labeled with a specific number of distinct values, that is, in this context, values chosen from a set having a specific number of distinct elements, shall be referred to as edge-labeled trees (ELTs). It is likewise noted that such trees are not limited to being labeled with the numerals previously described. Any distinctly identifiable labels may be employed; however, in this context, it shall be understood that employing numerals to label the edges is sufficiently general to encompass any sort of data labels that may be desirable, regardless of their form.

Throughout the discussion, the term “label value” indicates information that is associated with one or more elements of a tree. In particular examples described herein, a label value may be associated with an edge and/or a node. As in particular examples of a node label value and edge label provided above, a label value may store, hold and/or represent information. In a particular embodiment, as illustrated in U.S. Provisional Application No. 60/648,950 titled “Method and/or System for Tree Transformation,” filed on Jan. 31, 2005, for example, there exists a transformation between an edge labeled tree (ELT) and a node labeled tree (NLT). Here, a particular label value may take the form of a node label value and/or an edge label value based, at least in part, on the form of a tree. In a particular embodiment, although claimed subject matter is not limited in this respect, there exists a transformation between BELTs and binary node labeled trees (BNLTs). It should be understood that the information expressed in a BELT may comprise essentially the same information represented in a BNLT having the same structure of corresponding nodes and edges. Here, a transformation from a BELT to a BNLT may comprise assigning node label values to nodes in the resulting BNLT the edge label values of edges in the BELT connecting corresponding nodes to their parents. The root node in the resulting BNLT may then be assigned a null label value. Similarly, a BNLT may be transformed to a BELT using related techniques as illustrated in U.S. Provisional Application No. 60/648,950 titled “Method and/or System for Tree Transformation,” filed on Jan. 31, 2005. As such, BELTs and BNLTs may comprise members of class of trees called binary labeled trees (BLTs) in which either nodes or edges hold, store and/or represent a binary label value.

To reiterate, in this context, a tree comprises an edge labeled tree if each edge of the tree respectively holds, stores and/or represents a value or piece of data. Likewise, in this context, two nodes are employed to support an edge storing, holding and/or representing a piece of data. At this point, it is worth noting that trees having nodes and edges, such as previously described, may be represented in a computing platform or similar computing device through a data structure or a similar mechanism intended to capture the hierarchical relationship of the data, for example. It is intended that all such embodiments are included within the scope of claimed subject matter.

According to an embodiment, an “unlabeled tree” or “unary tree”, which shall be used interchangeably throughout, may represent hierarchical data without having any information stored, held or represented in any of its edges or nodes (including root nodes and/or terminal nodes). Rather, such hierarchical data may be expressed in how nodes and/or edges in an unlabeled tree may relate to other nodes and/or edges.

According to an embodiment, trees or portions of trees may be represented by natural numerals according to an association of trees and natural numerals. Without belaboring the present discussion, additional descriptions of how natural numerals may be associated with trees are discussed in greater detail below and in U.S. patent application Ser. No. 11/005,859, filed on Dec. 6, 2004, by J. J. LeTourneau, titled, “Manipulating Sets of Hierarchical Data,” assigned to the assignee of the presently claimed subject matter. It should be understood, however, that while the particular embodiments illustrated are directed to particular associations of numerals and trees, there may be many associations of trees to numerals according to corresponding particular “association embodiments,” and claimed subject matter is not limited to any such particular association.

According to an embodiment, although claimed subject matter is not limited in scope in this respect, a method of enumerating a set of unordered trees may begin with enumeration of a one node binary edge labeled tree. The one node tree, which holds no data, is associated with the natural numeral one and has a graphical representation of a single node in this embodiment. For higher natural numerals, ordered trees may be generated by a process described, for example, in “The Lexicographic Generation of Ordered Trees,” by S. Zaks, The Journal of Theoretical Computer Science, Vol. 10(1), pp 63-82, 1980, or, “Enumerating Ordered Trees Lexicographically,” by M. C. Er, Computation Journal, Vol. 28, Issue 5, pp 538-542, 1985.

As illustrated, for this particular embodiment, the one node tree root comprises a single node and is associated with the natural numeral one. Thus, to obtain the tree at position two, a root node is attached and connected to the prior root node by an edge. Likewise, here, by convention, the edge is labeled with a binary zero. If, however, the tree formed by the immediately proceeding approach were present in the prior enumeration of trees, then a similar process embodiment is followed, but, instead, the new edge is labeled with a binary one rather than a binary zero. Thus, for example, to obtain the binary edge labeled tree for position three, a new root node is connected to the root node by an edge and that edge is labeled with a binary one. It should be understood that, while this particular embodiment associates a single node tree with the numeral one, and associates other trees with other numerals based, at least in part, upon this association, other embodiments illustrated below associate a single node tree with the numeral zero, or different numerals. Other trees in this association embodiment may then be based, at least in part, on this association.

Continuing with this example, to obtain the BELT for position four, observe that numeral four is the product of numeral two times numeral two. Thus, a union is formed at the root of two trees, where, here, each of those trees is associated with the natural numeral two. Likewise, to obtain the BELT for position five, begin with the BELT for position two and follow the previously articulated approach of adding a root and an edge and labeling it with a binary zero.

According to an embodiment, a “set” defines an unordered collection of unique elements or members. For example, for the purpose of illustration, a set may contain members or elements of a distinct classification, such as the set of all automobiles in a parking lot of a particular color. In a particular embodiment, for example, trees may be classified into sets defined by certain characteristics, such as the set of binary edge labeled trees or the set of unlabeled trees, and the like. However, this is merely an example of how trees may be classified into distinct sets and claimed subject matter is not limited in this respect.

According to an embodiment, a “multiset” may define an unordered collection of possibly repeating elements or members. In a particular embodiment, for example, a multiset may count and/or enumerate multiple instances of the same element or member.

According to an embodiment, a “transformation” defines a process by which elements of a first set may be mapped between and/or associated with elements of a second set. For example, in a particular embodiment, a transformation may map and/or associate a member of the set of trees with a member of the set of condensed arrays containing numerals. However, this is merely an example of how a transformation may map and/or associate members of one set to members of another set, and claimed subject matter is not limited in these respects.

According to an embodiment, a transformation may associate and/or map an element in a first set with an element in a second set as an “elementary equivalent.” Here, in a particular embodiment, such a transformation may associate such elementary equivalent elements in different sets in a one-to-one and onto mapping in which the transformation defines for elements in a first set corresponding, unique elementary equivalents in a second set. Similarly, a transformation may also map and/or associate members of the second set to corresponding elementary equivalents in the first set. Examples of a transformations mapping and/or associating elementary equivalent elements of different sets may be found in, for example, “Logical Number Theory I: An Introduction,” Craig Smorynski, Springer-Verlag, 1991, p. 305. In a particular embodiment, for example, a transformation may map and/or associate trees of a first type (e.g., a member of the set of unlabeled trees, node labeled trees or BELTs) to elementary equivalent trees of a second type. However, this is merely an example of how a transformation may map and/or associate members of different sets as elementary equivalents, and claimed subject matter is not limited in these respects.

An “array” as referred to herein means an arrangement of information. In one embodiment, an array may comprise one or more entries which are locatable by one or more coordinates and/or indices. In a particular example, a computing platform may define one or more arrays for storing information in a storage medium in an arrangement that enables retrieval of the stored information for processing, display, transmission and/or other purposes. However, this is merely an example of how an array may be implemented and claimed subject matter is not limited in this respect.

The quantity of information that an array may be capable of representing may be based, at least in part, upon on a capacity of a storage device that is used to store, hold and/or represent the information in the array. The quantity of information that an array may be capable of representing may also be based, at least in part, upon the manner in which information is associated and/or represented in the array. In one embodiment, a “sparse” array may store information in entries of an array in which a portion of the elements have the same value, and this value is a constant and/or known in advance. In many fields of engineering, sparse arrays (in particular, arrays that consist almost entirely of zeros) are quite common. Therefore, it is worthwhile to develop methods for handling data in such arrays.

According to an embodiment, it may be useful to transform between trees and arrays to enable computation, manipulation and/or analysis of hierarchical data which is represented in trees. In particular, it may be useful to transform trees to arrays for storage in a computing platform for computation and other purposes. Here, a sparse array may express a relationship among nodes in a tree. In one particular example, although claimed subject matter is not limited in this respect, the nodes of a tree may be sequentially numbered from 1 to n where n is the number of nodes in the tree. An n×n sparse array may identify which nodes are connected by an edge by having a “1” entry for locations i, j in the where nodes i and j are connected by an edge (for all i=1 to n and all j=1 to n). The remaining entries may hold zeros. However, this is merely an example of a sparse array and claimed subject matter is not limited in these respects.

According to an embodiment, a transformation may define a relationship between trees and “condensed” arrays. In a particular embodiment. although claimed subject matter is not limited in this respect, a condensed array may represent a tree using substantially less information than with a sparse array. In one embodiment particular embodiment, although claimed subject matter is not limited in these respects, a condensed array may comprise a fixed size in one or more dimensions. Where a condensed array comprises a table, for example, such a condensed array may have a fixed number of rows and/or columns. However, this is merely an example of a condensed array and claimed subject matter is not limited in these respects. According to a particular embodiment, a condensed array may be used for representing a tree in a compressed and/or compact format for storage in a memory device and/or for transmission in an information transmission medium. However, these are merely examples of applications of transforming between trees and condensed arrays, and claimed subject matter is not limited in these respects.

FIG. 3 is a schematic diagram of a unary or unlabeled tree 150 according to an embodiment. FIG. 4 is a flow diagram illustrating a process embodiment 200 of transforming between a tree and a condensed array. As illustrated by way of a particular example, process embodiment 200 may define a transformation of tree 150 to a condensed array. As will be illustrated below, and referred to throughout this particular example in the discussion, there exists a transformation between tree 150 and the following condensed array of Table 1 below:

TABLE 1 Index Substitute Numeral Substituted Numeral 1 3 127 2 5 1 3 6 941 4 9 914 5 10 2 6 12 1882 7 18 881 8 20 3 9 21 628 10 24 283 11 25 Ø 12 27 6731 13 33 29,108,077 14 35 Ø 15 36 12,098,522 16 39 296,189,926

In the particular embodiment of a condensed array as shown in Table 1, although claimed subject matter is not limited in this respect, a fixed number of columns represent tree 150. Here, a first column provides substituted numerals, a second column provides corresponding substitute numerals, and a third column provides sequential indices associating substituted numerals and corresponding substitute numerals provided in the first and second columns. In alternative embodiments, information in Table 1 may be expressed in a condensed array comprising a fixed number of rows which set forth the aforementioned substituted numerals, substitute numerals and sequential indices. Again, however, these are merely examples of how a tree may be expressed in a condensed array and claimed subject matter is not limited in these respects.

As illustrated below, FIG. 4 sets forth a process embodiment 200 to transform a tree to a condensed array. As will be discussed below, process embodiment 200 employs a relationship between trees and non-composite numerals according to an association of trees and numerals. Portions of a transformed tree which comprise node connected by edges, in a particular embodiment, may be represented as subtrees. Such subtrees may be associated with numerals according to an association of trees and numerals as described in the aforementioned U.S. patent application Ser. No. 11/005,859, filed on Dec. 6, 2004.

FIGS. 5 through 12 are schematic diagrams of trees illustrating a process to transform between a tree 150 and a condensed array shown Table 1 according to a particular example of process embodiment 200 of FIG. 4. In this particular example of process embodiment 200, for the purposes of discussion, a unary or unlabeled tree is transformed to a condensed array. The following discussion will make reference to FIGS. 5 through 12 to illustrate one particular example of a transformation between unary or unlabeled trees and condensed arrays. However, other examples of process embodiment 200, provided with reference to FIGS. 13B through 18, may be applied to transformations between trees with node and/or edge labeled values and condensed arrays. Also, it should be understood that any of the particular examples of process embodiment 200 described herein are merely examples of a transformation between a tree and a condensed array, and claimed subject matter is not limited in these respects.

As pointed out above, tree 150 has no edge labels and no node labels. Accordingly, tree 150 may be referred to as an unlabeled and/or unary tree. At block, 202, non-root nodes may be associated with a zero label value with the resulting tree 300 shown in FIG. 5. As illustrated from FIG. 5, a tree may comprise a single root node but multiple terminal nodes. According to an embodiment, a tree may comprise one or more nodes which are “frontier nodes.” A frontier node is connected to one or more child nodes and does not have any grandchild node or any grandchildren nodes. In other words, a frontier node has at least one child node and all nodes descending from a frontier node are terminal nodes. At block 204, in the presently illustrated embodiment, frontier nodes may be identified as nodes 301.

According to an embodiment, a tree may be expressed as one or more “subtrees” merged at the root node of the tree. A subtree is connected to the root node of the tree at an edge and independently has properties of a tree, except that the subtree is part of a larger tree. For example, here, a subtree comprises at least a “root” node coupled by an edge to a root node of the larger tree. Additional nodes and edges may be connected to the root node of the subtree. While a subtree may comprise an edge connected to the root node of the tree, the size and shape of the subtree may express information like that of a tree having the same size and shape as the subtree. The subtrees merged together at the root node of a tree may be referred to as “subtree children” of the tree node and any particular one of such subtrees may be referred to as a “subtree child” of the tree in this embodiment.

By extension of the above examples of subtrees, a “parent” node in a tree having descendent nodes may itself comprise a root of a tree where descendant nodes are associated with subtree children of the parent node. Blocks 206 through 232, according to a particular embodiment, represent portions of tree 300 as numerals to be represented in entries of a condensed array such as the condensed array of Table 1. Beginning with terminal nodes which are furthest removed from the root node, process embodiment 200 associates numerals with parent nodes and their descendant nodes based, at least in part, on an association of trees and numerals. In the particular embodiment, a subtree child of a parent node may be associated with a non-composite numeral which is based, at least in part, on one or more label values associated with the descendant subtree. Accordingly, a parent node may represent a merger of its descendant subtree children as a product of non-composite numerals representing respective subtree children. In one example, this product may be applied as a label value associated with the parent node. As illustrated below, according to a particular embodiment, associating subtree children with non-composite numerals may make use of an array comprising a finite sequence of pre-computed non-composite numerals. To address finiteness of such a sequence of non-composite numerals, according to a particular embodiment, from time to time large label values may be substituted for smaller values. The condensed array may then associate the substituted larger label values with their smaller substitutes.

In addition to associating smaller numeral substitutes for larger substituted label values, a condensed array such as the condensed array of Table 1 may also associate label values associated with frontier nodes with child terminal nodes descending from the frontier nodes. As will be illustrated in the particular embodiment below, the condensed array associates larger substituted label values with substitute numerals that are multiples of a first numeral “T” (e.g., T=three in a particular embodiment illustrated below). In a particular embodiment, the condensed array also associates child terminal nodes descending from frontier nodes with substitute numerals that are multiples of a second, non-composite numeral “α” (e.g., α=five in the particular embodiment illustrated below). To prevent ambiguity as to whether a substitute entry represents a larger label value or a label value representing terminal node children of a frontier node, according to a particular example, substitute numerals entered in the condensed table may be multiples of the first non-composite numeral T or the second non-composite numeral α. In one particular embodiment, although claimed subject matter is not limited in this respect, substitute numerals may be chosen to be a multiple of T or α, but not multiples of both T and α. Here, it should be noted that the choice of representing larger substituted label values as particular multiples of T=three and the choice of representing a number of child terminal nodes as particular multiples of α=five in are merely examples, and that multiples of different numerals may be used. However, in the particular embodiments illustrated herein, although claimed subject matter is not limited in these respects, α comprises a non-composite numeral that is greater than T.

At block 208, nodes 302, 304 and 306 of tree 300 are identified as being furthest from the root node (seven nodes removed from the root node in this particular example). Subsequent execution of blocks 210 through 228 may, according to a particular embodiment of process embodiment 200, determine label values for parents of nodes 302, 304 and 306. Diamond 212 determines that these nodes are frontier nodes.

According to a particular embodiment, although claimed subject matter is not limited in this respect, block 214 may represent a frontier node and its terminal node children as a multiple of α. In the particular example transformation of a unary tree illustrated with reference to FIGS. 5 through 12, a multiple of α may represent a count of the number of terminal node children of such a frontier node. In other non-unary trees, such as trees with labeled nodes and/or edges such as BELTs, such a multiple of α may also represent edge and/or label values associated with particular child nodes and/or edges connecting such child nodes to the parent frontier node. In this particular example of transforming a unary tree as illustrated with reference to FIGS. 5 through 12, block 214 may label the parent of nodes 302 and 304 with numeral “10” (a multiple of α to represent two terminal children) and label the parent of node 306 with “5” (a multiple of α to represent a single terminal child) as shown in FIG. 6 as resulting nodes 406 and 404. Block 215 updates the condensed array to associate the label values associated with nodes 406 (numeral “5”) and 404 (numeral “10”) with respective substituted numerals “1” and “2”, representing frontier nodes having a single terminal node and pair of terminal nodes as reflected below in Table 2. Terminal nodes 302, 304 and 306 are pruned at block 228.

TABLE 2 Substitute Numeral Substituted Numeral 5 1 10 2

Returning to block 208, in this particular example, nodes 402, 404 and 406 of tree 400 are nodes which are furthest removed from the root node. Here, diamond 212 may determine that node 402 is a single terminal node child of a frontier node in tree 300. Accordingly, in this particular example, block 214 assigns label value associated with numeral “5” to the parent of node 402 shown as node 502 in tree 500 of FIG. 7. Since the condensed array already associates label value numeral “5” with a single terminal node depending from a frontier node, no update of the condensed array is needed at block 215. Since nodes 404 and 406 are not terminal nodes depending from frontier nodes, as determined at diamond 212, in this particular example, label values associated with their respective parents may be determined, at least in part, as a function of label values associated with nodes 404 and 406.

According to an embodiment, a label value associated with a parent node which is not a frontier node may be determined, at least in part, as a function of label values associated with its children. Here, a label value K of such a parent node may be determined according to relation (1) as follows: K=P(Tx ₁+Δ₁)*P(Tx ₂+Δ₂)* . . . *P(Tx _(l)+Δ_(l))  (1)

Where:

-   -   P(n) is the well known Kleene enumeration function for         generating the sequence of non-composite numerals;     -   x_(i)=label value associated with child “i”;     -   T=the aforementioned numeral used for generating smaller         substitute numerals of label values; and     -   Δ_(i)=a numeral to represent a label value associated with an         edge connecting the child node to the parent node.

In the context of the above identified Kleene enumeration function, the term prime numerals and non-composite numerals may be used interchangeably throughout. According to an embodiment, values of factors P(Tx_(i)+Δ_(i)) which are used for determining label values associated with the parent node may be pre-computed and obtained from an array of pre-computed non-composite numerals which are indexed by natural numerals. Here, a non-composite numeral P(Tx_(i)+Δ_(i)) in the array of pre-computed non-composite numerals may be associated with an index comprising argument “Tx_(i)+Δ_(i)”. It should be understood that such an array may comprise a finite enumeration of non-composite numerals. For the purpose of illustrating a particular example, Appendix 1 lists the first 350 non-composite numerals from 2 through 2357. Here, Appendix 1 provides the first 350 non-composite numerals in columns A through G as follows:

P(1) to P(50) column A P(51) to P(100) column B P(101) to P(150) column C P(151) to P(200) column D P(201) to P(250) column E P(251) to P(300) column F P(301) to P(350) column G

According to an embodiment, argument “Tx_(i)+Δ_(i)” may exceed indices of the array of pre-computed non-composite numerals. In the presently illustrated embodiment, the Appendix I is capable of providing a pre-computed non-composite numeral for indices between 1 and 350. However, it should be understood that this particular enumeration of the first 350 non-composite numerals is merely an example, and that other arrays of pre-computed non-composite numerals may comprise fewer than the first 350 non-composite numerals or more than the first 350 non-composite numerals.

In a particular embodiment illustrating a transformation of unary tree 150 to a condensed array, the numeral T=3 and, since in this particular of tree 150 embodiment edges are unlabeled, Δ_(i) may be set to a constant one for all nodes i. Accordingly, argument “Tx_(i)+Δ_(i)” may be set to “3x_(i)+1”. Again, however, while “Tx_(i)+Δ_(i)” may be set to “3x_(i)+1” in this particular embodiment, argument “Tx_(i)+Δ_(i)” may be set to different expressions (e.g., as illustrated below in the case of transforming a BELT to a condensed array). Returning to process embodiment 200 for determination of label values for parents of nodes 406 and 404, argument “3x_(i)+1” corresponding to node 406 equals thirty-one and argument “3x_(i)+1” corresponding to node 404 equals sixteen. Since thirty-one and sixteen are within indices of the array of pre-computed non-composite numerals, in this particular embodiment of an array of non-composite numerals, diamond 216 determines that label values associated with 406 and 404 are not to be substituted with smaller values that are multiples of three. Block 224 updates the label values associated with parents of nodes 406 and 404, shown as nodes 506 and 504 in FIG. 7 in this particular embodiment, as “127” and “53”, respectively. Returning to block 206 in this particular example, block 208 identifies nodes 502, 504 and 506 as being the furthest removed from the root node. Diamond 212 determines that none of these nodes are children of a frontier node. Since label value associated with nodes 502 and 504 equal five and fifty-three, respectively, argument “3x_(i)+1” corresponding to node 502 equals sixteen and argument “3x_(i)+1” corresponding to node 504 equals 160. Accordingly, these arguments do not exceed indices of the array of pre-computed non-composite numerals in this particular embodiment, and diamond 216 determines that label values associated with nodes 502 and 504 are not to be substituted with smaller values that are multiples of T (where T=3 in this particular embodiment). Block 224 updates the label values associated with respective parents of nodes 502 and 504, shown as nodes 602 and 604 in FIG. 8, as “53” and “941.” Block 228 then prunes nodes 402 and 404.

Regarding update of a label value for parent of node 506, argument “3x_(i)+1” for label value associated with “127” exceeds indices of the array of pre-computed non-composite numerals as determined at diamond 216. Accordingly, block 218 substitutes this label value with a multiple of three. Since this is the first substitution of a larger label value to a multiple of T in this particular transformation of tree 150, block 218 will substitute the larger label value associated with “127” with “3” and indicate this substitution in an updated condensed array as illustrated in Table 3.

TABLE 3 Substitute Numeral Substituted Numeral 3 127 5 1 10 2

This substitution is illustrated in FIG. 7 with a line through the larger label value “127” and the inclusion of “3” as an updated label value. Block 224 updates a label value associated with the parent of node 506 as P(3*3+1)=29, as indicated for node 606 in FIG. 8, and block 228 prunes node 506.

Returning to block 208 in connection with tree 600 of FIG. 8, nodes 602 through 609 are nodes furthest removed from the root node. Beginning with nodes 607, 608 and 609, diamond 212 determines that these nodes are children of a frontier node. Accordingly block 214 determines updates of a label value associated with the parent frontier node with a multiple of α (where α=5 in this particular embodiment). As reflected in the condensed array, numerals “5” and “10” have already been used to indicate frontier nodes having a single terminal node and two terminal node children of frontier nodes as illustrated in tree 400 or FIG. 6. Since the next multiple of α (where α=5 in this particular embodiment), fifteen, is also a multiple of T (where T=3 in this particular embodiment), block 214 may update a label value associated with parent of nodes 607, 608 and 609 with “20” (which is the next multiple of α after fifteen). This label is reflected in an update to the condensed array to associate the label value “20” with a frontier node having three terminal node children as shown in Table 4.

TABLE 4 Substitute Numeral Substituted Numeral 3 127 5 1 10 2 20 3

Nodes 602 and 603, which are not children of a frontier node as determined at diamond 212, have label values associated with “53” and “0”, respectively, and diamond 216 determines that argument “3x_(i)+1” does not exceed indices of the array of pre-computed non-composite numerals for either label value. Accordingly, block 226 determines a label value associated with the parent of nodes 602 and 603 as P(3*53+1)*P(3*0+1)=241*2=1882. This updated label value is reflected as a label value associated with node 702 of tree 700 in FIG. 9. In a similar fashion, nodes 605 and 606, which are not children of a frontier node, have label values associated with “0” and “29,” respectively, and diamond 216 determines that argument “3x_(i)+1” does not exceed indices of the array of pre-computed non-composite numerals for either label value. Accordingly, block 226 determines a label value associated with parent of nodes 605 and 606 as P(3*29+1)*P(3*0+1)=457*2=914. This updated label value is reflected as a label value associated with node 706 of tree 700 in FIG. 9.

Regarding update of a label value for the parent of node 604, argument “3x_(i)+1” for a label value associated with “941” exceeds indices of the array of pre-computed non-composite numerals as determined at diamond 216. Accordingly, block 218 substitutes this label value with a multiple of three. Since this is a second substitution of a larger label value to a multiple of T, in this particular transformation of tree 150, block 218 will substitute the larger label value associated with “941” with “6” and indicate this substitution in an updated condensed array as illustrated in Table 5.

TABLE 5 Substitute Numeral Substituted Numeral 3 127 5 1 6 941 10 2 20 3

This substitution is illustrated in FIG. 8 with a line through the larger label value “941” and the inclusion of “6” as an updated label value. Block 224 updates a label value associated with parent of node 604 as P(3*6+1)=67, as indicated for node 704 in FIG. 9, and block 228 prunes node 604.

Returning to block 208 in connection with tree 700 of FIG. 9, continuing with the present example, nodes 701 through 711 are nodes furthest removed from the root node. Beginning with nodes 701, 703, 705, 707 and 710, diamond 212 determines that these nodes comprise children of a frontier node. Here, parent of nodes 701 and 703, has two child terminal nodes. Accordingly, a label value associated with this parent node is updated as “10” to be consistent with a label value applied to node 406 (FIG. 6) representing a frontier node with two terminal node children (and as reflected in the condensed array). This is reflected in a label value associated with “10” applied to node 810 of tree 800 (FIG. 10). Similarly, parents of the non-sibling nodes 705, 707 and 710 are updated as “5” to be consistent with a label value applied to node 404 (FIG. 6) representing a frontier node with a single terminal node child (and as reflected in the condensed array). This is reflected in a label value associated with “5” applied to nodes 810, 812 and 814 of tree 800 (FIG. 10).

Regarding update of label values associated with the parents of non-sibling nodes 704 and 708, argument “3x_(i)+1” does not exceed indices of the array of pre-computed non-composite numerals. Accordingly, label values associated with these parent nodes are updated as P(3*67+1)=P(202)=881 and P(3*20+1)=P(61)=283. These updated label values are illustrated in FIG. 10, in a particular example, as label values associated with nodes 804 and 808 of tree 800 (FIG. 10). Block 228 then prunes nodes 704 and 708.

Regarding update of label values associated with parent of node 706, argument “3x_(i)+1” exceeds indices of the array of pre-computed non-composite numerals as determined at diamond 216. Accordingly, block 218 substitutes label value “914” with a multiple of three. Since this is a third substitution of a larger label value to a multiple of three in this particular transformation of tree 150, block 218 will substitute the larger label value associated with “914” with “9” and indicate this substitution in an updated condensed array of Table 6.

TABLE 6 Substitute Numeral Substituted Numeral 3 127 5 1 6 941 9 914 10 2 20 3

This substitution is illustrated in FIG. 9, in this particular example, with a line through the larger label value “914” and inclusion of “9” as an updated label value. Block 224 updates a label value associated with parent of node 604 as P(3*9+1)=107, as indicated for node 806 in the particular embodiment of FIG. 10, and block 228 prunes node 706.

Regarding update of a label value associated with parent of sibling nodes 702, 709 and 711, node 702 is not a child of a frontier node as determined at diamond 212. Argument “3x_(i)+1” corresponding with a label value associated with node 702 exceeds indices of the array of pre-computed non-composite numerals as determined at diamond 216. Accordingly, block 218 substitutes the label value “1882” with a multiple of three. Since this is a fourth substitution of a larger label value to a multiple of three in this particular transformation of tree 150, block 218 will substitute the larger label value associated with “1882” with “12” and indicate this substitution in an updated condensed array of Table 7.

TABLE 7 Substitute Numeral Substituted Numeral 3 127 5 1 6 941 9 914 10 2 12 1882 20 3

This substitution is illustrated in FIG. 9, in a particular example, with a line through the larger label value “1882” and inclusion of “12” as an updated label value. Since nodes 709 and 711 are siblings of node 702, block 222 determines that argument “3x_(i)+1” corresponding with label values associated with nodes 709 and 711 do not exceed indices of the array of pre-computed non-composite numerals. Accordingly, in this particular embodiment, block 222 makes no substitutions of label values associated with nodes 709 and 711 and block 226 updated a label value associated with parent of nodes 702, 709 and 711 as P(3*12+1)*P(3*0+1)=P(37)*P(1)*P(1)=157*2*2=628, as indicated for node 802 in FIG. 10, and block 228 prunes nodes 702, 709 and 711.

Returning to block 208 in connection with tree 800 of FIG. 10, continuing with this particular example, nodes 802 through 816 are nodes furthest removed from the root node. Beginning with nodes 710 and 812, diamond 212 determines that these nodes are not children of a frontier node. Argument “3x_(i)+1” corresponding with the label values associated with nodes 810 and 812 also do not exceed indices of the array of pre-computed non-composite numerals as determined at diamond 216. Accordingly, block 226 updates a label value associated with parent of sibling nodes 810 and 812 as P(3*10+1)*P(3*5+1)=P(31)*P(16)=127*41=6731, as indicated for node 910 in FIG. 11, and block 228 prunes nodes 810 and 812.

Regarding update of a label value associated with parent of sibling nodes 804, 806 and 814, these nodes are not children of a frontier node as determined at diamond 212. Argument “3x_(i)+1” corresponding with a label value associated with node 804 exceeds indices of the array of pre-computed non-composite numerals as determined at diamond 216. Accordingly, block 218 substitutes label value “881” with a multiple of three. This is a fifth substitution of a larger label value to a multiple of three in this particular transformation of tree 150. Since fifteen is a multiple of both T and α (where T=3 and α=5 in this particular embodiment), block 218 may substitute the larger label value associated with “881” with “18”, which is the next multiple of three after fifteen, and indicate this substitution is an updated condensed array illustrated in Table 8.

TABLE 8 Substitute Numeral Substituted Numeral 3 127 5 1 6 941 9 914 10 2 12 1882 18 881 20 3

This substitution is illustrated in FIG. 10 with a line through the larger label value “881” and inclusion of “18” as an updated label value. Since nodes 806 and 814 are siblings of node 804, block 222 determines that argument “3x_(i)+1” corresponding with label values associated with noes 806 and 814 do not exceed indices of the array of pre-computed non-composite numerals. Accordingly, block 222 makes no substitutions of label values associated with nodes 806 and 814. Block 226 updates label value associated with parent of nodes 804, 806 and 814 as P(3*107+1)*P(3*18+1)*P(3*5+1)=P(322)*P(55)*P(16)=2137*257*53=29,108,077, as indicated for node 904 in FIG. 11, and block 228 prunes nodes 804, 806 and 814.

Regarding update of a label value associated with a parent of sibling nodes 802, 808, 810 and 816, these nodes are not children of a frontier node as determined at diamond 212. Argument “3x_(i)+1” corresponding with a label value associated with node 802 exceeds indices of the array of pre-computed non-composite numerals as determined at diamond 216. Accordingly, block 218 substitutes label value “628” with a multiple of three. Since this is a sixth substitution of a larger label value to a multiple of three in this particular transformation of tree 150, block 218 may substitute the larger label value associated with “628” with the next multiple of three (after “18”) “21”, and indicate this substitution in an updated array of Table 9.

TABLE 9 Substitute Numeral Substituted Numeral 3 127 5 1 6 941 9 914 10 2 12 1882 18 881 20 3 21 628

This substitution is illustrated in FIG. 10 with a line through the larger label value “628” and inclusion of “21” as an updated label value. Block 222 determines that argument “3x_(i)+1” corresponding with label values associated with nodes 810 and 816 do not exceed indices of the array of pre-computed non-composite numerals, in this particular embodiment. However, block 222 determines that argument “3x_(i)+1” corresponding with a label value associated with nodes 808 does exceed indices of the array of pre-computed non-composite numerals, Here, block 222 substitutes label value “283” with a multiple of three. Since this is a seventh substitution of a larger label value to a multiple of three in this particular transformation of tree 150, block 218 may substitute the larger label value associated with “283” with the next multiple of three (after “21”) “24”, and indicate this substitution in an updated condensed array of Table 10.

TABLE 10 Substitute Numeral Substituted Numeral 3 127 5 1 6 941 9 914 10 2 12 1882 18 881 20 3 21 628 24 283

This substitution is illustrated in FIG. 10, in this particular example, with a line through the larger label value “283” and inclusion of “21” as an updated label value. Block 226 then updates a label value associated with parent of sibling nodes 802, 808, 810 and 816 as P(3*21+1)*P(3*0+1)*P(3*24+1)*P(3*5+1)=P(64)*P(1)*P(73)*P(16)=311*2*367*53=12,098,522 as indicated for node 902 in FIG. 11, and block 228 prunes nodes 802, 808, 810 and 816.

Returning to block 208 in connection with tree 900 of FIG. 10, nodes 902, 903, 904 and 910, remaining non-root nodes, are one node removed from the root node. Diamond 212 may determine that the parent root node does not comprise a frontier node. Argument “3x_(i)+1” corresponding with a label value associated with node 910 exceeds indices of the array of pre-computed non-composite numerals as determined at diamond 216. Accordingly, block 218 substitutes a label value “6731” with a multiple of three. Since this is the eighth substitution of a larger label value to a multiple of three in this particular transformation of tree 150, block 218 may substitute the larger label value associated with “6731” with the next multiple of three (after “24”) “27”, and indicate this substitution in an updated condensed array of Table 11.

TABLE 11 Substitute Numeral Substituted Numeral 3 127 5 1 6 941 9 914 10 2 12 1882 18 881 20 3 21 628 24 283 27 6731

This substitution is illustrated in FIG. 11, in this particular example, with a line through the larger label value “6731” and inclusion of “27” as an updated label value. Block 222 determines that argument “3x_(i)+1” corresponding with label values associated with node 903 does not exceed indices of the array of pre-computed non-composite numerals, However, block 222 determines that argument “3x_(i)+1” corresponding with label value associated with nodes 902 and 904 exceed indices of the array of pre-computed non-composite numerals. Here, block 222 substitutes label values “29,108,077” and “12,098,522” with multiples of three. Since the next multiple of three (after “27”) “30” is a multiple of both T and α (where T and α=5 in this particular embodiment), this numeral will not be used as a substitute label value in this particular example. Accordingly, in ninth and tenth substitutions of a larger label value to a multiple of three in this particular transformation of tree 150, block 218 may substitute the larger label value associated with “29,108,077” with the next multiple of three (after “30”) “33”, and substitute the larger label value associated with “12,0988,522” with the next multiple of three “36.” Block 222 may also indicate this substitution in an updated condensed array of Table 12.

TABLE 12 Substitute Numeral Substituted Numeral 3 127 5 1 6 941 9 914 10 2 12 1882 18 881 20 3 21 628 24 283 27 6731 33 29,108,077 36 12,098,522

These substitutions are illustrated in FIG. 11 with a line through the larger label values “29,108,077” and “12,098,522” and the inclusion of “33” and “36” as new label value. Block 226 may then update a label value associated with parent of nodes 902, 903, 904 and 910 as P(3*27+1)*P(3*33+1)*P(3*0+1)*P(3*36+1)=P(88)*P(100)*P(0)*P(109)=457*541*2*599=296,189,926. This updated label value is indicated in FIG. 12 for the root node. Also, a final condensed array may be updated as shown in Table 1 to associate the next multiple of three (after “36”) “39” with label value “296,189,926” associated with the root node. Regarding the multiples of five 25 and 35 as substitute numerals in the condensed array, these numerals are not used as substitutes for any label values in the transformation of tree 150. However, although claimed subject matter is not limited in these respects, a condensed array may include these numerals as place holders that are associated with a symbol such as “Ø” to indicate that there are no associated substituted label values. In alternative embodiments, however, rows and/or columns in a condensed array for which there are no substituted label values may be omitted.

Thus, tree 150 may be transformed to the condensed array of Table 1. Here, it should be evident that tree 150 may be completely recovered from information in the condensed array. FIG. 13A illustrates a process embodiment 1000 of transforming a condensed array to a tree according to a particular embodiment. However, this is merely an example of a process to transform a condensed array to a tree and claimed subject matter is not limited in these respects.

Process embodiment 1000 will be illustrated with reference to the transformation between trees and condensed arrays illustrated with reference to FIGS. 5 through 12. In one, embodiment of a condensed array, as illustrated in Table 1, a label value associated with the root node may be represented as a substituted numeral associated with a distinct index (e.g., associated with the highest or lowest index). However, the condensed array need not store a label value associated with the root node and claimed subject matter is not limited in these respects. In the presently illustrated embodiment, however, block 1002 may obtain a label value associated with the root node as the substituted numeral “296,189,926” in the condensed array associated with the highest index “16”. Diamond 1004 determines that this substitute numeral is not a factor of α (where, again, α=5 for this particular embodiment) which would indicate a frontier node in this particular embodiment. Diamond 1010 determines that this substitute numeral is also not a factor of T (where, again, T=3 for this particular embodiment) which would indicate a substitute for a larger label value that is stored in the condensed array in this particular embodiment.

Accordingly, at block 1014, substituted numeral “296,189,926” may be factored into its component non-composite factors: 457; 541; 2 and 599. These non-composite factors are associated with subtrees of the root node according to an association of trees and numerals. These non-composite factors may be located in an array of pre-computed non-composite numerals, as shown in Appendix I for this particular embodiment, for identifying indices that corresponding to these non-composite factors. These indices correspond with argument “Tx_(i)+Δ_(i)” (where, again, “Tx_(i)+Δ_(i)”=“3x_(i)+1” for this particular embodiment) relating label values x_(i) of child nodes to the non-composite factors. Here, the indices of the array of pre-computed non-composite numerals which are associated with the non-composite factors 457, 541, 2 and 599 comprise 88, 100, 1 and 109, respectively. At successive iterations of block 1018, these indices may be equated with argument “3x_(i)+1” to provide label values “27,” “33,” “0,” and “36” of nodes 910, 904, 903 and 902, respectively.

Following an iteration of block 1018 providing label value x_(i)=“0”, diamond 1020 determines that the corresponding subtree is a terminal node. Following iterations of block 1018 for remaining label values x_(i)=“27,” “33” and/or “36”, diamond 1020 determines that corresponding subtrees comprise two or more nodes. For these remaining label values, therefore, block 1022 recursively executes process embodiment 1000 to identify nodes in subtrees corresponding with these label values while setting respective node values x_(i) (determined at block 1018) to be label values obtained at block 1002 from execution of recursive instances.

Being multiples of three, as determined at diamond 1010 in recursive instances, remaining label values “27,” “33” and “36” comprise substitutes for larger label values provided in the condensed array as “6731”; “29,108,077” and “12,876,562”, respectively. Accordingly, block 1012 replaces label values which are factors of three with these larger label values.

Continuing with the example for the recursive iteration of process embodiment 1000 in connection with a sub tree represented by the label value “6731” (corresponding with node 910), block 1014 factors “6731” into its non-composite factors 127 and 53. As illustrated above, the non-composite factors 127 and 53 may be located in the array of pre-computed non-composite numerals for identifying indices 31 and 16 at corresponding iterations of block 1018. Equating these indices 31 and 16 with argument “3x_(i)+1” provides label values x_(i) of “10” and “5”, respectively, corresponding to descendants of node 910. Since these values are not equal to zero, as determined at block 1020, block 1022 may initiate recursive instances of process embodiment 1000 to identify nodes corresponding to these subtrees. Being multiples of α (where α=5 in this particular embodiment), as determined at diamond 1004, these label values “10” and “5” correspond with frontier nodes having two terminal node children and one terminal node child, respectively, as indicated in the condensed array of Table 1. Here, label value “10” corresponds with a subtree comprising nodes 701 and 703, and label value “5” corresponds with a subtree comprising node 705.

Thus, in the above illustrated example of execution of process embodiment 1000 a portion of tree 150 is recovered from label value “296,189,926” and the condensed array of Table 1. In similar fashion, a remaining portion of tree 150 may be recovered from the label values “29,108,077” and “12,876,562” corresponding with nodes 902 and 904 by factoring these numerals into their respective non-composite factors at block 1014 and execution of blocks 1016 through 1024 (including recursive instances of process embodiment 1000 initiated at block 1022).

While the particular embodiments illustrated above with reference to FIGS. 5 through 12 are direct to transforming between unary or unlabeled trees and condensed arrays, the process illustrated above with reference to FIGS. 4 and 13A may be applied to transforming between edge and/or node labeled trees and condensed arrays. In an example of an m-ary edge labeled tree, an edge connecting two nodes may store, hold and/or represent any of an m number of values. Similarly, in an example of an m-ary node labeled tree, a node may store, hold and/or represent any of an m number of values. Accordingly, m-ary edge labeled trees and m-ary node labeled trees are subsets of the set of m-ary labeled trees. The discussion below in connection with FIGS. 13B through 18 provides particular examples of transforming between BELTs and condensed arrays for the purpose of illustrating transformations between trees and condensed arrays. However, these are merely examples of how such transformations may be employed and claimed subject matter is not limited in this respect. For example, as discussed below, the described techniques are also applicable to transforming between condensed arrays and BNLTs, m-ary edge labeled trees and/or m-ary node labeled trees.

As pointed out above in connection with relation (1), a label value associated with a parent node may be determined based, at least in part, upon the label values associated with its child nodes. For an m-ary edge labeled tree, according to a particular embodiment, T may be set to a value of m or larger while Δ_(i), associated with a child node i, may take on any value from Δ_(i)=1, 2, . . . , m−1 depending, at least in part, on a particular edge label value associated with an edge connecting node i to its parent node. Also, a value of α (where multiples of represent terminal node children of a frontier node in a condensed array) may again be selected as a non-composite numeral that is greater than T. In an embodiment to transform a five edge labeled tree, where m=5, α may be set to seven. However, this is merely an example of how α may be selected for a particular example embodiment and claimed subject matter is not limited in these respects.

According to an embodiment of transforming between an m-ary edge labeled tree and a condensed array, terminal node children of a frontier node may be represented as a numeral generated from the well known m dimensional Cantor function capable of uniquely expressing m-dimensional coordinates as a single numeral. The single numeral may then be associated with one or more frontier nodes and a multiple of α in the condensed array. Here, such a Cantor function may define a one-to-one and onto mapping between m-dimensional expressions of frontier nodes and single numerals. In the case of a BELT (where m=2), for example, a label value associated with a frontier node may be expressed as an ordered pair (x,y). Here, x may represent a number of terminal child nodes connected to the frontier node by a zero-labeled edge while y may represent a number of terminal child nodes connected to the frontier node by a one-labeled edge. As illustrated in FIG. 13B, a Cantor pairing function may associate any combination of x and y values with a single numeral. Accordingly, a frontier node in a BELT and its child terminal nodes may be represented by a single numeral generated from the Cantor pairing function of FIG. 13B. However, the Cantor pairing function is merely an example of how a frontier node of a BELT and its child terminal nodes may be represented as a single numeral, and claimed subject matter is not limited in these respects.

For trees with edges capable of having more than two different values, other Cantor functions may define a one-to-one and onto mapping between ordered groupings of three or more numerals and a single numeral. A numeral in such an ordered grouping may represent a number of terminal nodes connected to a frontier node with an edge of a corresponding edge label value. Such other Cantor functions defining a one-to-one and onto mapping between ordered groupings of three or more numerals and single numerals are well known as illustrated in “Logical Number Theory I: An Introduction,” Craig Smorynski, Springer-Verlag, 1991, pp. 23-24.

In a particular embodiment directed to transforming between BELTs and condensed arrays is described with reference to FIGS. 14 through 18. Again, in this particular embodiment, process embodiment 200 of FIG. 4 may set T=3 (which is greater than m=2). However, it should be understood that, in other embodiments, process embodiment 200 may set T=2. Setting T=3, process embodiment 200 may then select α=5, a non-composite numeral greater than three. As illustrated below, process embodiment 200 may transform tree 1050 to a condensed array as shown in Table 13.

TABLE 13 Index Substitute Numeral Substituted Numeral 1 3 254 2 5 1 3 6 22597 4 9 Ø 5 10 2 6 12 Ø 7 18 Ø 8 20 Ø 9 21 Ø 10 24 Ø 11 25 4 12 27 7167379

Block 202 may assign label values “0” to nodes as shown in FIG. 15. Block 204 may then identify frontier nodes 1072. Block 208 identifies nodes 1074, 1076, 1078 and 1080 as nodes that are furthest removed from the root node. For subsequent iterations of processing through blocks 210 through 230, diamond 212 determines that nodes 1074, 1076, 1078 and 1080 are also children of frontier nodes.

In the presently illustrated embodiment of transforming a BELT to a condensed array, block 214 may associate a frontier node with an with an ordered pair (x,y), as illustrated above, where x represents a number of child nodes connected by a zero-labeled edge and y represents a number of child nodes connected by a one-labeled edge. The parent of node 1076, having a single child node connected by a zero-labeled edge, may be associated with (1, 0). According to Cantor pairing function of FIG. 14B, this ordered pair maps to the numeral “1”. Block 214 may associate numeral “1” with a multiple of α (where α=5 in the presently illustrated embodiment). Here, frontier parent of node 1076 may be updated as “5” as indicated at node 1106 of tree 1100 in FIG. 16. Block 215 may then associated substitute numeral “5” with a substituted numeral “1” as shown in Table 14. Block 214 may associate frontier node parent of node 1074, having a single child node connected by a one-labeled edge, with ordered pair (0,1). According to the Cantor pairing function of FIG. 14B, this ordered pair maps to numeral “2”. Block 214 may associate numeral “2” with a multiple of five such as the numeral “10.” Here, frontier parent of node 1074 may be updated as “10” as indicated at node 1104 of tree 1100. Block 215 may then associated the substitute numeral “10” with a substituted numeral “2” as shown in Table 14. Block 214 may associate frontier node parent of nodes 1078 and 1080, having a two child nodes connected by respective one-labeled edges, with ordered pair (0,2). According to the Cantor pairing function of FIG. 14B, this ordered pair maps to numeral “4”. The next multiple of five (after “10”) is fifteen which is a multiple of both a and T. In the particular illustrated embodiment, although claimed subject matter is not limited in this respect the numeral “15” may be excluded as a substitute numeral to avoid ambiguity. The next multiple of five, (after “15”) “20”, may be set aside as a substitute numeral for an ordered pair (1,1) mapping to numeral “3” according to the Cantor pairing function of FIG. 14B. Accordingly, numeral “4”, associated with frontier node parent of nodes 1078 and 1080, may be associated with a substitute numeral “25” (the next multiple of five after “20”). Here, block 214 may update a label value associated with frontier node parent of nodes 1078 and 1080 as “25” as shown at corresponding node 1108 of tree 1100 in FIG. 16. Block 215 may update the condensed array to associate substitute numeral “25” with substituted numeral “4”. Block 228 may then prune nodes 1074, 1076, 1078 and 1080.

TABLE 14 Substitute Numeral Substituted Numeral 5 1 10 2 25 4

Returning to block 208 of process embodiment 200, in this particular example, block 208 identifies nodes 1102, 1104, 1106, 1108, 1110 and 1112 as being furthest removed from the root node. In subsequent iterations of processing through blocks 210 through 230, diamond 212 determines that nodes 1102 and 1110 are also children of frontier nodes. Here, like frontier node parent of node 1076 in tree 1070, frontier node parents of nodes 1102 and 1110 are connected to a single terminal node by a zero-labeled edge. Block 214 may also associate these frontier nodes with ordered pair (1,0), corresponding with numeral “1” of the Cantor function of FIG. 14B. Accordingly, block 214 may also associate this numeral “1” with substitute numeral “5” in the condensed array of Table 14 and update label values associated with these frontier nodes as “5” as shown at nodes 1152 and 1160 of tree 1150 in FIG. 17, and block 228 may prune nodes 1102 and 1110.

Regarding update of label value associated with parent of sibling nodes 1104 and 1112, diamond 212 determines that these nodes are not children of a frontier node. Here, diamond 216, determines whether argument “Tx_(i)+Δ_(i)” for these particular nodes exceeds an indices of the array of pre-computed non-composite numerals. For this particular embodiment, as discussed above, the value of T is set to three. Again, however, this is merely an example of a numeral that may be assigned to T and claimed subject matter is not limited in these respects. The value Δ_(i) may be determined based, at least in part, on an edge label value associated with an edge connecting a particular node i to its parent node. In this particular example of transforming a BELT to a condensed array, a value of one may be assigned to Δ_(i) if i is connected to its parent by a zero-labeled edge and a value of two may be assigned to Δ_(i) if i is connected to its parent by a one-labeled edge. However, it should be under stood that these are merely examples of values that may be assigned to Δ_(i) based, at least in part, on an edge labeled value connecting node i to its parent, and claimed subject matter is not limited in these respects.

For node 1112, argument Tx_(i)+Δ_(i)=3*0+1=1, which does not exceed indices of the array of pre-computed non-composite. Similarly for node 1104, Tx_(i)+Δ_(i)=3*10+1=31, which also does not exceed indices of the array of pre-computed non-composite numerals. As determined at diamond 216 and block 222, label values associated with nodes 1104 and 1112 are not to be substituted. Also, parent of sibling nodes 1104 and 1112 may be updated at block 226 as P(3*0+1)*P(3*10+1)=P(1)*P(31)=2*127=254. Accordingly, a label value associated with parent of sibling nodes 1104 and 1112 is updated as “254” shown at node 1154 of tree 1150 of FIG. 17, and block 228 may prune nodes 1104 and 1112.

Regarding update of label value associated with parent of sibling nodes 1104 and 1112, diamond 212 determines that these nodes are not children of a frontier node. For node 1106, argument Tx_(i)+Δ_(i)=3*5+2=17, which does not exceed indices of the array of pre-computed non-composite numerals. Similarly for node 1104, Tx_(i)+Δ_(i)=3*25+1=76, which also does not exceed indices of the array of pre-computed non-composite numerals. As determined at diamond 216 and block 222, label values associated with nodes 1104 and 1112 are not to be substituted. Also, parent of sibling nodes 1106 and 1108 may be undated at block 226 as P(3*5+2)*P(3*25+1)=P(17)*P(76)=59*383=22597. Accordingly, the label value associated with parent of sibling nodes 1106 and 1108 is updated as “22597” shown at node 1156 of tree 1150 of FIG. 17, and block 228 may prune nodes 1104 and 1112.

Returning to block 208 of process embodiment 200 in connection with tree 1150 of FIG. 17, continuing with the current example, remaining nodes 1152, 1154, 1156 and 1160 are one node removed from the root node. Subsequent iterations of blocks 210 through 230 may determine at diamond 212 that these nodes are not frontier nodes. Nodes 1152 and 1160 are associated with a label value “5” and are connected to the root node by respective one-labeled edges. Accordingly, Tx_(i)+Δ_(i)=3*5+2=17, which does not exceed indices of the array of pre-computed non-composite numerals. For node 1154, having a label value associated with “254” and being connected to the root node by a zero-labeled edge, Tx_(i)+Δ_(i)=3*254+1=763, which exceeds indices of the array of pre-computed non-composite numerals. Similarly, for node 1156, having a label value associated with “22597” and being connected to the root node by a one-labeled edge, Tx_(i)+Δ_(i)=3*22597+1=67792, which exceeds indices of the array of pre-computed non-composite numerals. Here, label values associated with 1154 and 1156 are substituted with multiples of T (where T=3 for this particular embodiment). Since the condensed array of Table 14 has no substituted numerals associated with a multiple of three, the condensed array as shown in Table 15 associates numeral “3” with a substituted numeral “254” as a label value associated with node 1154. This substitution is reflected in FIG. 18, in this particular example, as a line through substituted label value “254” of node 1154 and inclusion of “3” as a substitute label value. The condensed array as shown in Table 15 also associates the next multiple of three (after “3”) “6” with a substituted label value “22597” of node 1156. This substitution is reflected in FIG. 18, in this particular example, as a line through the substituted label value “23597” of node 1156 and inclusion of “6” as a substitute label value.

TABLE 15 Substitute Numeral Substituted Numeral 3 254 5 1 6 22597 10 2 25 4

Block 226 may then update a label value associated with the root node as P(3*5+2)*P(3*5+2)*P(3*3+1)*P(3*6+2)=P(17)*P(17)*P(10)*P(20)=59*59*29*71=7167379. This numeral may then be associated with the next multiple of exceeding the highest substitute numeral already in the condensed array, “27” as shown in the condensed array of Table 13. However, this is merely an example of how a substitute numeral associated with the root node may be represented in a condensed array and claimed subject matter is not limited in these respects. Accordingly, BELT 1050 may be transformed to the condensed array of Table 13. In addition, a transformation of BELT 1050 to the condensed array of Table 13 may also be reversed according to a particular embodiment. As illustrated above with reference to FIGS. 5 through 12 above, process embodiment 1000 (FIG. 13A) may also transform the condensed array of Table 13 back to BELT 1050. Here, process embodiment 1000 will be illustrated with reference to the transformation between BELTs and condensed arrays illustrated with reference to FIGS. 14 through 18. In one embodiment of a condensed array, as illustrated in Table 13, block 1002 may obtain a label value associated with the root node as the substituted numeral “7,167,379” in the condensed array associated with the highest index “12”. Diamond 1004 determines that this substituted numeral is not a factor of α (where, again, α=5 for this particular embodiment) which would indicate a frontier node. Diamond 1010 determines that this substituted numeral is also not a factor of T (where, again, T=3 for this particular embodiment) which would indicate a substitute for a larger label value that is stored in the condensed array.

Accordingly, at block 1014, substituted numeral “7,167,379” may be factored into its component non-composite factors: 59; 59; 29 and 71. These non-composite factors are associated with subtrees of the root node according to an association of trees and numerals. These non-composite factors may be located in the array of pre-computed non-composite numerals for identifying indices that corresponding to these non-composite factors. These indices correspond with argument “Tx_(i)+Δ_(i)” (where, again, “Tx_(i)+Δ_(i)”=“3x_(i)+1” for this particular embodiment) relating label values x_(i) of child nodes to the non-composite factors. Here, the indices of the array of pre-computed non-composite numerals which are associated with the non-composite factors 59, 59, 29 and 71 comprise 17, 17, 10 and 20, respectively.

According to a particular embodiment for transforming between condensed arrays and m-ary edge labeled trees, block 1018 may determine a label value x_(i) and an edge label value connecting the subtree corresponding to non-composite factor i to its parent node based, at least in part, on a non-composite factor i determined at block 1014. Relation (2) expresses the label value x_(i) as follows i=P(Tx _(i)+Δ_(i)) P ⁻¹(i)=Tx _(i)+Δ_(i) x _(i) =[P ⁻¹(i)−Δ_(i) ]/T  (2)

where: P⁻¹(i)=inverse of the Kleene enumeration function providing an index associated with the non-composite factor i in the array of pre-computed non-composite numerals.

While the terms “P⁻¹(i)” and “T” may comprise known integers, the term “Δ_(i)” (associated with an edge label value) may comprise an integer from 1 to T−1. In the currently illustrated particular embodiment, however, only a single value of Δ_(i) within the range of 1 to T−1, inclusive, may provide a non-fractional or integer result for x_(i) according to relation (2). Returning to the aforementioned non-composite factor 59 and corresponding index 17, x_(i)=[17−Δ_(i)]/3=5, where Δ_(i)=2 for providing a non-fractional result for x_(i). The expression Δ_(i)=2 also corresponds with an one-labeled edge connecting the node to its parent according to this particular embodiment of transforming between condensed arrays and BELTs. Accordingly, the non-composite factors 59 correspond with a subtree comprising nodes 1152 and 1160 having a label value associated with “5” and being connected to the root node by a one-labeled edge.

Since x_(i)=5, diamond 1020 initiates execution of recursive instances of process embodiment 1000 at block 1022 to transform nodes 1152 and 1160 to frontier nodes having respective single child nodes 1102 and 1110 connected by zero-labeled edges. Here, diamond 1004 recognizes that the label value five is a multiple of α, and block 1006 determines the terminal node children of the frontier nodes. Block 1006 may associate label value “5” with substituted numeral “1”. Block may then associate substituted numeral “1” with ordered pair (1,0) of the Cantor pairing function of FIG. 13B to determine that nodes 1152 and 1160 comprise frontier nodes connected to a single child node by a zero-labeled edge.

Turning now to the subtree associated with non-composite numeral 29, continuing with the present example, relation (2) may determine x_(i)=[10−Δ_(i)]/3=3, where Δ_(i)=1 for providing a non-fractional result for x_(i). This corresponds with node 1154 having a node label “3” and connected to the root node by a zero-labeled edge. Since x_(i)=3, diamond 1020 may initiate execution of a recursive instance of process embodiment 1000 at block 1022. Here, diamond 1010 determines that x_(i) is a multiple of α which is three. Therefore, block 1012 may replace the label value “3” with substituted numeral “254” from the condensed array. Block 1014 may then factor “254” into its non-composite factors “2” and “127” associated with respective subtrees. Taking the subtree associated with non-composite numeral “2” first, block 1018 may, according to relation (2), determine x_(i)=[1−Δ_(i)]/3=0, where Δ_(i)=1 for providing a non-fractional result for x_(i). This corresponds with a single terminal node connected to its parent by a zero-labeled edge in this particular embodiment, corresponding with node 1112, and diamond 1020 returns execution to block 1016. Now taking the subtree associated with the next non-composite factor “127”, continuing with the current example, block 1018 may, according to relation (2), determine x_(i)=[31−Δ_(i)]/3=10, where Δ_(i)=1 for providing a non-fractional result for x_(i). This corresponds with node 1104 connected to its parent node by a zero-labeled edge in this particular embodiment. Since x_(i)=10, diamond 1020 may initiate execution of a recursive instance of process embodiment 1000 at block 1022. Here, diamond 1004 determines that x_(i) is a multiple of five, indicating a frontier node. Block 1006 then associates “10” in the condensed array with substituted numeral “2”. According to the Cantor pairing function of FIG. 13B, this corresponds with the ordered pair (0,1) and/or a frontier node connected to a single terminal node child by an one-labeled edge. This corresponds with nodes terminal node 1074 and its parent frontier node shown in tree 1070 in this particular embodiment.

Without belaboring the discussion, it should be clear that process embodiment 1000 may transform the remaining subtree associated with the non-composite numeral “71” to complete the transformation back to tree 1050.

The particular embodiments illustrated with reference to FIGS. 5 through 12 and FIGS. 14 through 18 make particular use of node label values for representing hierarchical data. In particular, FIGS. 5 through 12 and 15 through 18 may show a node being associated with a node label value representing a subtree connected to the node by one or more child nodes. However, it should be understood that other embodiments may make use of other types of label values such as edge label values and/or other expressions/devices of information to represent essentially the same information expressed in node label values shown in FIGS. 5 through 12 and 15 through 18, and that claimed subject matter is not limited in these respects.

Additionally, FIGS. 3 through 12 illustrate a particular embodiment for transforming between a unary tree and a condensed array and FIGS. 13B through 18 illustrate another particular embodiment for transforming between a BELT and a condensed array. In other embodiments, a transformation between an edge and/or node labeled tree and a condensed array may comprise a transformation between the edge and/or node labeled tree and a unary tree that is an elementary equivalent of the edge and/or node labeled tree. A transformation between the unary tree and the condensed array, such as that illustrated above with reference to FIGS. 3 through 12, may complete the transformation between the condensed array and the edge and/or node labeled tree. In a particular embodiment, as illustrated in U.S. Provisional Application No. 60/648,950 titled “Method and/or System for Tree Transformation,” filed on Jan. 31, 2005, for example, there exists a transformation between BELTs and elementary equivalent unary trees, and a transformation between node label trees and elementary equivalent unary tree. Accordingly, hierarchical data represented as a BELT and/or node labeled tree may be transformed to a unary tree representation, which is then transformed to a condensed array. Similarly, hierarchical data represented as a condensed array may be transformed to a unary tree, which is then transformed to a BELT and/or node labeled tree. Again, however, these are merely examples of transformation between trees and condensed arrays, and claimed subject matter is not limited in these respects.

Such a transformation between a unary and a BELT and/or node labeled tree is illustrated, according to a particular embodiment, with reference to FIGS. 19 through 29. FIGS. 19 through 24 are schematic diagrams of trees illustrating a transformation between an unlabeled tree and a BELT according to an embodiment. This is illustrated as a sequence of operations depicted here as graph operations, although such a transformation may alternatively be implemented by operations implemented otherwise, one such example being by a computing platform, for example. Likewise, other embodiments in which trees of one form are transformed to trees of another form are also included within the scope of claimed subject matter.

FIG. 19 is a schematic diagram of an unlabeled tree 2300 comprising a root node 2302 according to an embodiment. Identifying root node 2302 indicates a directional flow of hierarchical data represented in unlabeled tree 2300 descending away from root node. FIG. 20 is a schematic diagram of unlabeled tree 2300 showing terminal nodes as cross-hatched nodes. As illustrated in FIG. 21, by way of example, according to a particular embodiment, frontier nodes 2304 in tree 2300 are connected to one or more corresponding child terminal nodes.

FIGS. 22 through 24 are schematic diagrams illustrating a process to transform between an unlabeled tree 2300 and a BELT that comprises an elementary equivalent of unlabeled tree 2300. In this particular embodiment, unlabeled tree 2300 may represent hierarchical data and the transformation illustrated below may map unlabeled tree 2300 to a BELT that represents essentially the same hierarchical data. According to an embodiment, tree 2300 is transformed to a node labeled tree 2500 shown in FIG. 23 which comprises an elementary equivalent of tree 2300. Then, as illustrated above, node labeled tree 2500 may be transformed to a BELT 2600 shown in FIG. 24 which comprises an elementary equivalent of tree 2600. Accordingly, in a particular embodiment, the resulting tree 2600 comprises an elementary equivalent of tree 2300. However, this is merely an example of a transformation between an unlabeled tree and a BELT that is an elementary equivalent of the unlabeled tree and claimed subject matter is not limited in this respect.

According to an embodiment, FIG. 22 illustrates a process of “pruning” terminal nodes in tree 2300 from frontier nodes. Here, tree 2400 shows darkened nodes 2404 which correspond with frontier nodes 2304 of tree 2300. According to an embodiment, tree 2400 may be generated by pruning and/or removing one terminal node connected to each of the corresponding frontier nodes 2304. The remaining terminal nodes of tree 2300 (i.e., the unpruned terminal nodes) are indicated with cross-hatching. However, this is merely an example of how terminal nodes may be pruned from corresponding frontier nodes and claimed subject matter is not limited in this respect.

FIG. 23 is a schematic diagram of a node labeled tree 2500 which may be determined, at least in part, from tree 2400. According to an embodiment, the remaining terminal nodes of tree 2300 indicated with cross-hatching in tree 2400 are replaced with node label values associated with parent nodes in tree 2500. In a particular embodiment, for example, nodes in tree 2400 having a natural numeral k of such remaining terminal nodes as children are associated with nodes in tree 2500 having a node label value associated with k and the remaining terminal node children in tree 2400 are removed in the resulting tree 2500. Again, tree 2500 may represent essentially the same hierarchical data represented in tree 2400. Here, the resulting node labeled tree 2500 determined from the above described transformation may comprise an elementary equivalent of unlabeled tree 2300. However, this is merely an example how an unlabeled tree may be transformed to an elementary equivalent node labeled tree and claimed subject matter is not limited in this respect.

Nodes in tree 2500 contain a numeral as a node label value to represent a count of remaining terminal nodes removed from corresponding nodes in tree 2400. While not shown in FIG. 23, the remaining nodes in tree 2500 not showing a node label may nevertheless be assigned a node label value associated with natural numeral “0.” According to an embodiment, tree 2500 may be transformed to an elementary equivalent BELT by replacing nodes in tree 2500 having a non-zero node label value with an equivalent portion of a BELT. In a particular embodiment, the portion of a BELT equivalent to the non-zero node label value may be determined according to an association embodiment of numerals and trees.

FIG. 24 is a schematic diagram of a BELT 2600 resulting from a transformation from node labeled tree 2500 according to an embodiment. According to a particular embodiment, edges in BELT 2600 corresponding with edges existing in node labeled tree 2500 may be labeled with a numeral “1.” Then, nodes in BELT 2600 corresponding to nodes in node labeled tree 2500 having non-zero node label values may be connected to portions of BELTs which are based, at least in part, on the non-zero label values. Here, the non-zero node label values may be associated with the portions of BELTs according to an association of BELTs and numerals according to a particular association embodiment. In this particular embodiment, for the purpose of illustration, FIG. 25 shows portions of BELTs in BELT 2600 corresponding with a non-zero node label value in node labeled tree 2500. FIG. 25 also shows non-zero node label values in node label tree 2500 above corresponding to portions of BELTs in BELT 2600. Here, the edge between the prior nodes and the new nodes is labeled with a zero value. For nodes with a value k that is a power of two, including the value one, the node value is deleted and (log₂(k)+1) new nodes are attached, labeling the edge between the new nodes and the old nodes with a zero value.

The remaining node label values comprise non-powers of two that are three or larger. These node label values may be factored into one or more non-composite numerals according to a particular association embodiment. For such a resulting non-composite numeral factor of a node's label, a tag representing the non-composite numeral factor may be connected to the node by an edge having an edge label value associated with binary zero. The tag may comprise a portion of a BELT representing the non-composite numeral factor according to an association of BELTs and numerals of a particular association embodiment.

As described below in greater detail, the association of portions of BELTs and numerals may associate unique portions of BELTs and corresponding numerals. In other words, in a particular association embodiment, for any numerical node label value there is a unique corresponding BELT portion. Accordingly, the resulting BELT 2600 may express essentially the same hierarchical data as the node labeled tree 2500 and comprise an elementary equivalent of the node labeled tree 2500. However, it should be understood that this is merely an example of a transformation between a node labeled tree and an elementary equivalent BELT and claimed subject matter is not limited in these respects. Since the node labeled tree 2500 comprises an elementary equivalent of the unlabeled tree 2300, BELT 2600 may also comprise an elementary equivalent of unlabeled tree 2300. However, again, this is merely an example of a transformation between an unlabeled tree and an elementary equivalent BELT, and claimed subject matter is not limited in these respects.

FIG. 26 is a flow diagram illustrating a process 2700 of associating node label values with BELTs and/or portions of BELTs according to an embodiment of the transformation illustrated above with reference to FIGS. 23 through 25. Here, process 2700 may be used to associate node label values associated with nodes in node labeled tree 2500 with corresponding portions of BELTs in BELT 2600, according to the particular association embodiment illustrated in FIG. 25. FIG. 27 is a table showing a particular association embodiment that may be determined according to process 2700. However, it should be understood that process 2700 and FIG. 26 merely illustrate particular association embodiments and that claimed subject matter is not limited in these respects.

Process 2700 may determine BELT portions corresponding to node labels “k” of a node label tree, as illustrated in the transformation from node labeled tree 2500 to BELT 2600 illustrated above. If a particular node label value k is equal to zero, as determined at diamond 2704, process 2700 merely removes any node label value from a corresponding node in the resulting BELT. For a particular node label value k equal to one, as determined at diamond 2706, block 2708 may attach to a corresponding node in the resulting BELT a single node by an edge having a label value associated with binary zero. Such a BELT portion corresponding to numeral “1” is shown in the association embodiment of FIG. 27.

For a particular node label value k equal to a power of two, as determined at diamond 2712, block 2710 may attach to a corresponding node in the resulting BELT, log₂(k)+1 nodes by corresponding edges having a label value associated with binary zero. This is illustrated in the particular association embodiment shown in FIG. 27 with reference to BELT portions corresponding to numerals two, four and eight. Here, two nodes are attached to the corresponding node in the resulting BELT by corresponding edges for a node label value k=2. Three nodes are attached to the corresponding node in the resulting BELT by corresponding edges for a node label value k=4; and four nodes are attached to the corresponding node in the resulting BELT by corresponding edges for a node label value k=8.

According to an embodiment, a node label value k may comprise a natural numeral that is a product of natural numerals x and y greater than one. Under this condition, k comprises a composite numeral capable of being factored into natural numerals x and y. Here, the BELT portion representing k in a resulting BELT may be represented as a merger of respective BELT portions represented by the natural numerals x and y at a corresponding node in the resulting BELT providing, in effect, a root node for the merged BELT portions. Alternatively, a node label value k may comprise a non-composite natural numeral that cannot be factored into positive natural numerals other than one and itself.

Returning to process 2700, if a node label value k comprises a non-composite natural numeral greater than three, as determined at diamond 2716, block 2714 may attach a BELT portion associated with the non-composite numeral to a corresponding node in the resulting BELT. Here, the BELT portion may be determined from a particular association of BELTs with non-composite numerals.

Returning again to process 2700, if a node label value k comprises a composite natural numeral, as determined at diamond 2716, block 2718 may first factor k by the largest power of two, “w”. This factor may be represented by a BELT portion comprising log₂(w) nodes attached to the corresponding node in the resulting BELT by corresponding edges with label values “0.” The remainder may then be factored into non-composite numerals greater than two. According to a particular association embodiment, as illustrated with reference to block 2714, for example, block 2718 may determine BELT portions corresponding to these non-composite factors of the remainder. Here, for such a resulting non-composite numeral factor of a node's node label, a tag representing the non-composite numeral factor may be connected to the node by an edge having an edge label value associated with binary zero. The tag may comprise a portion of a BELT representing the non-composite numeral factor according to an association of BELTs and numerals of a particular association embodiment. Such an association of BELTs and numerals according to one particular embodiment is illustrated in detail below.

According to a particular association embodiment, a composite numeral may be represented by individual BELTs and/or BELT portions corresponding with individual factors making up the composite numeral. Here, a “merger” operation may join the BELTs and/or BELT portions corresponding with the individual factors at a common root node to form the BELT and/or BELT portions corresponding with the composite numeral. Accordingly, such a merger operation of BELTs at a root node may correspond with multiplication of numerals corresponding with the merged BELTs. Without belaboring the discussion, such a merger operation is further illustrated in the aforementioned U.S. patent application Ser. No. 11/005,859, filed on Dec. 6, 2004, by J. J. LeTourneau, titled, “Manipulating Sets of Hierarchical Data.”

Returning to process 2700, block 2720 may merge the BELT portions corresponding to these non-composite factors determined at block 2718, and any BELT portion corresponding to a power of two factor “w” of k, at the corresponding node in the resulting BELT. As illustrated in FIG. 31, by way of example, a node value of 1950 may be factored at block 2718 into non-composite numerals as follows: 1950=2×3×5×5×13 As may be observed from FIG. 28, according to the particular association embodiment illustrated in FIG. 27, the BELT portion corresponding to numeral 1950 comprises a merger of BELT portions corresponding to the individual non-composite factors 3, 5, 5 and 13. For the remaining factor “2,” an additional node is connected by an edge having a label value associated with binary zero. Accordingly, it should be recognized for this particular embodiment that while block 2710 may attach log₂(k)+1 nodes in the resulting BELT for a node label value power of two k, block 2720 may merge log₂(w) nodes for a power of two factor w of a composite node label value (with BELT portions representing non-composite factors greater than two).

Process 2700 should be understood to be merely illustrative of a particular process for generating BELT portions corresponding to node label values in a corresponding node labeled tree. In alternative embodiments, possible node label values may be associated in a look up table with corresponding BELT portions determined, at least in part, according to a particular association embodiment.

Regarding particular association embodiments, FIG. 27 shows that the number of nodes representing non-composite numerals may grow roughly logarithmically with respect to the corresponding non-composite numerals. Nevertheless, it should be understood that the association of non-composite numerals and BELTs as illustrated in FIG. 22 is merely an example of how non-composite numerals may be associated with BELTs in a particular embodiment, and that many other association embodiments may be used without departing from claimed subject matter. This particular association embodiment, however, makes use of an association of BELTs and natural numerals. FIG. 24 is a table illustrating a particular embodiment of an association between natural numerals BELTs. Here, the resulting BELTs may be used as tags corresponding to non-composite node label values associated with nodes in a node labeled tree and/or factors thereof. As illustrated in particular embodiments above, these tags are attached to corresponding nodes in the resulting BELT by edges having a label value associated with binary zero (in which a tag is connected by an edge having a label value associated with binary zero). It should be recognized that BELTs corresponding to numerals zero and one are used to represent tags corresponding to node label values zero and one as illustrated in FIG. 22. As illustrated in FIG. 24, the tags associated with non-composite node label values and/or factors three, five, seven, eleven and thirteen correspond with the BELTs associated with numerals two, three, four, five and six, respectively. This matches the association of non-composite numerals greater than two and BELT portions shown in FIG. 22

Such an association of BELTs and numerals as illustrated may be generated by an enumeration of BELTs and associating natural numerals to such enumerated BELTs. Thus, for this particular embodiment, although claimed subject matter is not limited in scope in this respect, a method of enumerating a set of trees begins with enumeration of an empty binary edge labeled tree and a one node binary edge labeled tree. Here, the empty tree is associated with the zero and has a symbolic representation as illustrated in FIG. 24 (circle). Likewise, the one node tree, which holds no data, is associated with the one and has a graphical representation of a single node. For higher positive natural numerals, however, this embodiment of a method of enumerating a set of trees comprises positioning a tree at location k, k being a positive numeral greater than three, in which k comprises the product of u and v, u and v comprising positive numerals greater than one, such that the tree is formed by a union of the trees at positions u and v. Likewise, for those locations that are not a product of other natural positive numerals greater than one, that is, for locations that comprise non-composite numerals, denoted here by j, for example, j being a positive natural numeral greater than one, a tree is positioned at location j such that the tree is formed by finding the first tree in the prior enumeration such that the binary edge labeled tree obtainable from this first tree by attaching a node to the particular tree as a new root node and labeling the edge between the new root node and the prior root node with a binary zero label is not in the enumeration at some position lower than j; however, if the binary edge labeled tree obtainable from that first tree, as just described, is present in the enumeration with a binary zero label for the new edge, but not with a binary “1” label, then the tree at position j is that tree with a binary “1” label for the new edge. This may be illustrated, for example in FIG. 24, as described in more detail below.

For a particular embodiment, although claimed subject matter is not limited in scope in this respect, a method of enumerating a set of ordered trees may begin with enumeration of an empty binary edge labeled tree and a one node binary edge labeled tree. Thus, the empty tree is associated with the zero and has a symbolic representation as illustrated in FIG. 24 (circle). Likewise, the one node tree, which holds no data, is associated with the one and has a graphical representation of a single node. For higher positive natural numerals, ordered trees may be generated by a process described, for example, in “The Lexicographic Generation of Ordered Trees,” by S. Zaks, The Journal of Theoretical Computer Science, Vol. 10(1), pp. 63-82, 1980, or Enumerating Ordered Trees Lexicographically,” by M. C. Er, Computation Journal, Vol. 28, Issue 5, pp. 538-542, 1985.

As illustrated, for this particular embodiment, and as previously described, the empty tree has zero nodes and is associated with the zero. Likewise, the one node tree root comprises a single node and is associated with the one. Thus, to obtain the tree at position two, a root node is attached and connected to the prior root node by an edge. Likewise, here, by convention, the edge is labeled with a binary zero. If, however, the tree formed by the immediately proceeding approach were present in the prior enumeration of trees, then a similar process embodiment is followed, but, instead, the new edge is labeled with a binary one rather than a binary zero. Thus, for example, in order to obtain the binary edge labeled tree for position three, a new root node is connected to the root node by an edge and that edge is labeled with a binary one.

Continuing with this example, to obtain the binary edge labeled tree for position four, observe that numeral four is the product of numeral two times numeral two. Thus, a union is formed at the root of two trees, where, here, each of those trees is associated with the positive natural numeral two. Likewise, to obtain the binary edge labeled tree for position five, begin with the binary edge labeled tree for position two and follow the previously articulated approach of adding a root and an edge and labeling it with a binary zero.

In this context, adding a root node and an edge and labeling it binary zero is referred to as a “zero-push” operation and adding a root node and an edge and labeling it binary one is referred to as a “one-push” operation. Based at least in part on the prior description, for this particular embodiment, it may now be demonstrated that if k is any positive natural numeral and a tree is positioned at location k, then a non-composite numeral is associated with the zero-push of that tree and a non-composite numeral is associated with the one-push for that tree. Furthermore, the non-composite index of the zero-push of the tree comprises 2k−1, whereas the non-composite index of the one-push of the tree comprises 2k, where the index corresponds to argument of the aforementioned well-known Kleene enumeration on positive natural numerals of non-composite numerals. Here, a zero-push of a tree associated with natural numeral k provides a tree associated with P(2k−1) and a one-push of the tree associated with natural numeral k provides a tree associated with P(2k). Thus, referring again to FIG. 24, the one-push of the root tree is the tree at position three. This follows from FIG. 24 since P(2*1)=P(2)=3. Likewise, the tree at position five is the zero-push of the tree at position 2. Again, this follows since P(2*2−1)=P(3)=5.

The embodiments illustrate in FIGS. 14 through 20 involve connecting tags (BELT portions representing node label values and/or factors thereof) to unlabeled nodes by edges having a label value associated with binary zero and assign an edge label value associated with binary one to the remaining edges in the resulting BELT. In alternative embodiments, however, such edges connecting tags may have a label value associated with binary one with the remaining edges having a label value associated with binary zero, although claimed subject matter is not limited in these respects.

Also, the transformations illustrated above with reference to FIGS. 14 through 20 are particularly directed to transforming an unlabeled tree and/or a node labeled tree to a BELT. However, it should be recognized that, as a BLT may essentially be represented as either a BELT or a BNLT, such techniques illustrated herein would equally apply to the representation of hierarchical data of an unlabeled tree and/or node labeled tree in a BNLT.

It will, of course, be understood that, although particular embodiments have just been described, claimed subject matter is not limited in scope to a particular embodiment or implementation. For example, one embodiment may be in hardware, such as implemented to operate on a device or combination of devices, for example, whereas another embodiment may be in software. Likewise, an embodiment may be implemented in firmware, or as any combination of hardware, software, and/or firmware, for example. Likewise, although claimed subject matter is not limited in scope in this respect, one embodiment may comprise one or more articles, such as a storage medium or storage media. This storage media, such as, one or more CD-ROMs and/or disks, for example, may have stored thereon instructions, that when executed by a system, such as a computer system, computing platform, or other system, for example, may result in an embodiment of a method in accordance with claimed subject matter being executed, such as one of the embodiments previously described, for example. As one potential example, a computing platform may include one or more processing units or processors, one or more input/output devices, such as a display, a keyboard and/or a mouse, and/or one or more memories, such as static random access memory, dynamic random access memory, flash memory, and/or a hard drive. For example, a display may be employed to display one or more queries, such as those that may be interrelated, and or one or more tree expressions, although, again, claimed subject matter is not limited in scope to this example.

In the preceding description, various aspects of claimed subject matter have been described. For purposes of explanation, specific numbers, systems and/or configurations were set forth to provide a thorough understanding of claimed subject matter. However, it should be apparent to one skilled in the art having the benefit of this disclosure that claimed subject matter may be practiced without the specific details. In other instances, well-known features were omitted and/or simplified so as not to obscure claimed subject matter. While certain features have been illustrated and/or described herein, many modifications, substitutions, changes and/or equivalents will now occur to those skilled in the art. It is, therefore, to be understood that the appended claims are intended to cover all such modifications and/or changes as fall within the true spirit of claimed subject matter.

APPENDIX I A B C D E F G 1 2 233 547 877 1229 1597 1993 2 3 239 557 881 1231 1601 1997 3 5 241 563 883 1237 1607 1999 4 7 251 569 887 1249 1609 2003 5 11 257 571 907 1259 1613 2011 6 13 263 577 911 1277 1619 2017 7 17 269 587 919 1279 1621 2027 8 19 271 593 929 1283 1627 2029 9 23 277 599 937 1289 1637 2039 10 29 281 601 941 1291 1657 2053 11 31 283 607 947 1297 1663 2063 12 37 293 613 953 1301 1667 2069 13 41 307 617 967 1303 1669 2081 14 43 311 619 971 1307 1693 2083 15 47 313 631 977 1319 1697 2087 16 53 317 641 983 1321 1699 2089 17 59 331 643 991 1327 1709 2099 18 61 337 647 997 1361 1721 2111 19 67 347 653 1009 1367 1723 2113 20 71 349 659 1013 1373 1733 2129 21 73 353 661 1019 1381 1741 2131 22 79 359 673 1021 1399 1747 2137 23 83 367 677 1031 1409 1753 2141 24 89 373 683 1033 1423 1759 2143 25 97 379 691 1039 1427 1777 2153 26 101 383 701 1049 1429 1783 2161 27 103 389 709 1051 1433 1787 2179 28 107 397 719 1061 1439 1789 2203 29 109 401 727 1063 1447 1801 2207 30 113 409 733 1069 1451 1811 2213 31 127 419 739 1087 1453 1823 2221 32 131 421 743 1091 1459 1831 2237 33 137 431 751 1093 1471 1847 2239 34 139 433 757 1097 1481 1861 2243 35 149 439 761 1103 1483 1867 2251 36 151 443 769 1109 1487 1871 2267 37 157 449 773 1117 1489 1873 2269 38 163 457 787 1123 1493 1877 2273 39 167 461 797 1129 1499 1879 2281 40 173 463 809 1151 1511 1889 2287 41 179 467 811 1153 1523 1901 2293 42 181 479 821 1163 1531 1907 2297 43 191 487 823 1171 1543 1913 2309 44 193 491 827 1181 1549 1931 2311 45 197 499 829 1187 1553 1933 2333 46 199 503 839 1193 1559 1949 2339 47 211 509 853 1201 1567 1951 2341 48 223 521 857 1213 1571 1973 2347 49 227 523 859 1217 1579 1979 2351 50 229 541 863 1223 1583 1987 2357 

1. A method comprising: transforming between one or more electrical digital signals representing a tree and one or more electrical digital signals representing a condensed array of numerals by: (a) identifying a label value associated with a node of said tree; (b) factoring said label value into two or more non-composite factors; (c) associating said non-composite factors with indices of said condensed array of numerals, wherein said condensed array comprises a fixed number of rows or a fixed number of columns; (d) determining numerals representing one or more descendent nodes directly connected to said node based, at least in part, on said indices; and (e) recursively applying (a) through (d) to said descendent nodes to determine numerals representing remaining nodes descendent from said node, wherein each frontier node of said tree is associated with a label value comprising a non-composite numeral times an integer number of terminal nodes descending from said frontier node.
 2. The method of claim 1, wherein at least some of said numerals of said condensed array are based, at least in part, upon an association of trees and numerals.
 3. The method of claim 1, the method further comprising transforming between said one or more signals representing said tree and one or more electrical digital signals representing said condensed array of numerals by: associating numerical label values with at least some nodes or edges in said tree; and associating label values with at least some parent nodes of child nodes based, at least in part, on non-composite numerals derived, at least in part, from label values associated with said child nodes.
 4. The method of claim 3, and further comprising transforming between said one or more signals representing said tree and one or more electrical digital signals representing said condensed array of numerals by: pruning said child nodes.
 5. The method of claim 3, wherein a numerical label value associated with at least one of said parent nodes is based, at least in part, on a combination of non-composite numerals derived, at least in part, from label values associated with said child nodes.
 6. The method of claim 3, and further comprising transforming between said one or more signals representing said tree and one or more electrical digital signals representing said condensed array of numerals by: determining said non-composite numerals from an array of non-composite numerals indexed by sequential indices.
 7. The method of claim 1, and further transforming between said one or more signals representing said tree and one or more electrical digital signals representing said condensed array of numerals by: representing a parent node as a product of factors associated with one or more subtrees of said parent node.
 8. The method of claim 7, and further comprising transforming between said one or more signals representing said tree and one or more electrical digital signals representing said condensed array of numerals by: representing at least one of said subtrees with at least one numeral according to an association of trees and numerals; and determining at least one of said factors associated with said at least one subtree as at least one non-composite numeral associated with an index in an array of non-composite numerals if a predetermined function of said at least one factor matches an index among indices of said array of non-composite numerals.
 9. The method of claim 7, and further comprising transforming between said one or more signals representing said tree and one or more electrical digital signals representing said condensed array of numerals by: representing at least one of said subtrees with at least one numeral according to an association of trees and numerals; and associating said numeral in said condensed array with a substitute numeral if a predetermined function of said at least one factor does not match an index among indices of an array of non-composite numerals.
 10. The method of claim 9, wherein said substitute numeral comprises a multiple of a predetermined numeral and said predetermined function comprises multiplication of said numeral representing said sub tree by said predetermined numeral.
 11. The method of claim 9, and further comprising transforming between said one or more signals representing said tree and one or more electrical digital signals representing said condensed array of numerals by determining a factor of said product associated with said subtree based, at least in part, on said substitute numeral.
 12. The method of claim 11, wherein said determining a factor of said product associated with said subtree further comprises determining said factor based, at least in part, on a natural numeral associated with an index of said array of non-composite numerals, said index corresponding with a function of said substitute numeral.
 13. The method of claim 1, wherein said determining numerals associated with one or more descendant nodes further comprises associating a function of said indices with one or more numerals in said array of non-composite numerals.
 14. The method of claim 1, wherein said tree comprises a BLT.
 15. The method of claim 14, wherein said method further comprises transforming between said one or more signals representing said tree and one or more electrical digital signals representing said condensed array of numerals by transforming between one or more electrical digital signals representing said BLT and one or more electrical digital signals representing a unary tree.
 16. The method of claim 14, wherein said method further comprises transforming between said one or more signals representing said tree and one or more electrical digital signals representing said condensed array of numerals by: associating one or more frontier nodes of said tree with one or more ordered pairs; and associating said one or more ordered pairs with one or more single numerals according to a Cantor pairing function.
 17. The method of claim 16, and further comprising transforming between said one or more signals representing said tree and one or more electrical digital signals representing said condensed array of numerals by associating said one or more single numerals with one or more multiples of a predetermined non-composite numeral in said condensed array.
 18. The method of claim 1, wherein said tree comprises an m-ary labeled tree, and wherein said method further comprises transforming between said one or more signals representing said tree and one or more electrical digital signals representing said condensed array of numerals by: associating one or more frontier nodes of said tree with one or more m-dimensional expressions; associating said one or more m-dimensional expressions with one or more single numerals according to a Cantor function; and associating said one or more single numerals with one or more multiples of a predetermined non-composite numeral in said condensed array.
 19. The method of claim 1, wherein said condensed array comprises a fixed size in at least one dimension.
 20. The method of claim 19, wherein said condensed array comprises a plurality of entries associating substitute numerals with substituted numerals.
 21. The method of claim 20, wherein said substituted numerals comprise numerals associated with subtrees according to an association of trees and numerals.
 22. The method of claim 20, wherein said substitute numerals comprise one or more integer multiples of a predetermined non-composite numeral, said integer multiples representing one or more frontier nodes of said tree.
 23. The method of claim 20, wherein said substitute numerals comprise multiples of a predetermined integer, said multiples being associated with larger substituted numerals representative of subtrees.
 24. An apparatus comprising: means, comprising a processor programmed with instructions, for representing at least a condensed array of numerals; and means, comprising said instructions, for transforming between a tree and condensed array of numerals, said means for transforming between said tree and said condensed array of numerals comprising: (a) means for identifying a label value associated with a node of said tree (b) means for factoring said label value into two or more non-composite factors; (c) means for associating said non-composite factors with indices of said condensed array of numerals, wherein said condensed array comprises a fixed number of rows or a fixed number of columns; (d) means for determining numerals representing one or more descendent nodes connected to said node based, at least in part, on said indices; and (e) means for recursively applying means (a) through (d) to said descendent nodes to determine numerals representing remaining nodes descendent from said node, wherein each frontier node of said tree is associated with a label value comprising a non-composite numeral times an integer number of terminal nodes descending from said frontier node.
 25. The apparatus of claim 24, wherein at least some of said numerals are based, at least in part, upon an association of trees and numerals.
 26. The apparatus of claim 24, wherein said means for transforming further comprises: means for associating numerical label values with at least some nodes or edges in said tree; and means for associating label values with at least some parent nodes of child nodes based, at least in part, on non-composite numerals derived, at least in part, from label values associated with said child nodes.
 27. The apparatus of claim 26, wherein said means for transforming further comprises means for pruning said child nodes.
 28. The apparatus of claim 26, wherein a numerical label value associated with at least one of said parent nodes is based, at least in part, on a combination of non-composite numerals derived, at least in part, from label values associated with said child nodes.
 29. The apparatus of claim 26, wherein said means for transforming further comprises means for determining said non-composite numerals from an array of non-composite numerals indexed by sequential indices.
 30. The apparatus of claim 24, wherein said means for transforming further comprises means for representing a parent node as a product of factors associated with one or more subtrees connected to said parent node.
 31. The apparatus of claim 30, wherein said means for transforming further comprises: means for representing at least one of said subtrees with at least one numeral according to an association of trees and numerals; and means for determining at least one of said factors associated with said at least one subtree as at least one non-composite numeral associated with an index in said array of non-composite numerals if a predetermined function of said at least one factor matches an index among indices of said array of non-composite numerals.
 32. The apparatus of claim 30, wherein said means for transforming further comprises: means for representing at least one of said subtrees with at least one numeral according to an association of trees and numerals; and means for associating said numeral in said condensed array with a substitute numeral if a predetermined function of said at least one factor does not match an index among indices of an array of non-composite numerals.
 33. The apparatus of claim 32, wherein said substitute numeral comprises a multiple of a predetermined numeral and said predetermined function comprises multiplication of said numeral representing said subtree by said predetermined numeral.
 34. The apparatus of claim 32, wherein said means for transforming further comprises: means for determining a factor of said product associated with said subtree based, at least in part, on said substitute numeral.
 35. The apparatus of claim 34, wherein said means for determining a factor of said product associated with said subtree further comprises means for determining said factor based, at least in part, on a natural numeral associated with an index of said array of non-composite numerals, said index corresponding with a function of said substitute numeral.
 36. The apparatus of claim 24, wherein said means for determining numerals associated with one or more descendant nodes further comprises means for associating a function of said indices with one or more numerals in said array of non-composite numerals.
 37. The apparatus of claim 24, wherein said tree comprises a BLT.
 38. The apparatus of claim 37, wherein said means for transforming between a tree and a condensed array of numerals further comprises means for transforming between said BLT and a unary tree.
 39. The apparatus of claim 37, wherein said means for transforming between said tree and said condensed array further comprises: means for associating frontier nodes of said tree with one or more ordered pairs; and means for associating said one or more ordered pairs with one or more single numerals according to a Cantor pairing function.
 40. The apparatus of claim 39, and further comprising means for associating said one or more single numerals with one or more multiples of a predetermined non-composite numeral in said condensed array.
 41. The apparatus of claim 24, wherein said tree comprises an m-ary labeled tree, and wherein said means for transforming between said tree and said condensed array further comprises: means for associating one or more frontier nodes of said tree with one or more m-dimensional expressions; means for associating said one or more m-dimensional expressions with one or more single numerals according to a Cantor function; and means for associating said one or more single numerals with one or more multiples of a predetermined non-composite numeral in said condensed array.
 42. The apparatus of claim 24, wherein said condensed array comprises a fixed size in at least one dimension.
 43. The apparatus of claim 42, wherein said Condensed array comprises a plurality of entries associating substitute numerals with substituted numerals.
 44. The apparatus of claim 43, wherein said substituted numerals comprise numerals associated with subtrees according to an association of trees and numerals.
 45. The apparatus of claim 43, wherein said substitute numerals comprise one or more integer multiples of a predetermined non-composite numeral, said integer multiples representing one or more frontier nodes of said tree.
 46. The apparatus of claim 43, wherein said substitute numerals comprise multiples of a predetermined integer, said multiples being associated with larger substituted numerals representative of subtrees.
 47. An article comprising: a storage medium comprising machine-readable instructions stored thereon which are executable by a processor to transform between a tree and a condensed array of numerals by: (a) identifying a label value associated with a node of said tree; (b) factoring said label value into two or more non-composite factors; (c) associating said non-composite factors with indices of said condensed array of numerals, wherein said condensed array comprises a fixed number of rows or a fixed number of columns; (d) determining numerals representing one or more descendent nodes connected to said node as a root node of said one or more subtrees based, at least in part, on said indices; and (e) applying (a) through (d) to said descendent nodes to determine numerals representing remaining descendent nodes, wherein each frontier node of said tree is associated with a label value comprising a non-composite numeral times an integer number of terminal nodes descending from said frontier node.
 48. The article of claim 46, wherein at least some of said numerals are based, at least in part, upon an association of trees and numerals.
 49. The article of claim 46, wherein said machine-readable instructions are further executable by said processor to: associate numerical label values with at least some nodes or edges in said tree; and associate label values with at least some parent nodes of child nodes based, at least in part, on non-composite numerals derived, at least in part, from label values associated with said child nodes.
 50. The article of claim 49, wherein said machine-readable instructions are further executable by said processor to prune said child nodes.
 51. The article of claim 49, wherein a numerical label value associated with at least one of said parent nodes is based, at least in part, on a combination of non-composite numerals derived, at least in part, from label values associated with said child nodes.
 52. The article of claim 49, wherein said machine-readable instructions are further executable by said processor to determine said non-composite numerals from an array of non-composite numerals indexed by sequential indices.
 53. The article of claim 47, wherein said machine-readable instructions are further executable by said processor to represent a parent node as a product of factors associated with one or more subtrees of said parent node.
 54. The article of claim 53, wherein said machine-readable instructions are further executable by said processor to: represent at least one of said subtrees with at least one numeral according to an association of trees and numerals; and determine at least one of said factors associated with said at least one subtree as at least one non-composite numeral associated with an index in an array of non-composite numerals if a predetermined function of said at least one factor matches an index among indices of said array of non-composite numerals.
 55. The article of claim 53, wherein said machine-readable instructions are further executable by said processor to: represent at least one of said subtrees with at least one numeral according to an association of trees and numerals; and associate said numeral in said condensed array with a substitute numeral if a predetermined function of said at least one factor does not match an index among indices of an array of non-composite numerals.
 56. The article of claim 54, wherein said substitute numeral comprises a multiple of a predetermined numeral and said predetermined function comprises multiplication of said numeral representing said sub tree by said predetermined numeral.
 57. The article of claim 54, wherein said machine-readable instructions are further executable by said processor to determine a factor of said product associated with said subtree based, at least in part, on said substitute numeral.
 58. The article of claim 57, wherein said machine-readable instructions are further executable by said processor to determine said factor based, at least in part, on a natural numeral associated with an index of said array of non-composite numerals, said index corresponding with a function of said substitute numeral.
 59. The article of claim 47, wherein said machine-readable instructions are further executable by said processor to associate a function of said indices with one or more numerals in said array of non-composite numerals.
 60. The article of claim 47, wherein said tree comprises a BLT.
 61. The article of claim 60, wherein said machine-readable instructions are further executable by said processor to transform between said BLT and a unary tree.
 62. The article of claim 60, wherein said machine-readable instructions are further executable by said processor to: associate one or more frontier nodes of said tree with one or more ordered pairs; and associate said one or more ordered pairs with one or more single numerals according to a Cantor pairing function.
 63. The article of claim 62, wherein said machine-readable instructions are further executable by said processor to associate said one or more single numerals with one or more multiples of a predetermined non-composite numeral in said condensed array.
 64. The article of claim 47, wherein said tree comprises an m-ary labeled tree, and wherein said machine-readable instructions are further executable by said processor to: associate one or more frontier nodes of said tree with one or more m-dimensional expressions; associate said one or more m-dimensional expressions with one or more single numerals according to a Cantor function; and associate said one or more single numerals with one or more multiples of a predetermined non-composite numeral in said condensed array.
 65. The article of claim 47, wherein said condensed array comprises a fixed size in at least one dimension.
 66. The article of claim 65, wherein said condensed array comprises a plurality of entries associating substitute numerals with substituted numerals.
 67. The article of claim 66, wherein said substituted numerals comprise numerals associated with subtrees according to an association of trees and numerals.
 68. The article of claim 66, wherein said substitute numerals comprise one or more integer multiples of a predetermined non-composite numeral, said integer multiples representing one or more frontier nodes of said tree.
 69. The article of claim 66, wherein said substitute numerals comprise multiples of a predetermined integer, said multiples being associated with larger substituted numerals representative of subtrees.
 70. An apparatus comprising: a computing platform comprising one or more processors programmed with instructions to transform between a tree and a condensed array of numerals by: (a) identifying a label value associated with a node of said tree; (b) factoring said label value into two or more non-composite factors; (c) associating said non-composite factors with indices of said condensed array of numerals, wherein said condensed array comprises a fixed number of rows or a fixed number of columns; (d) determining numerals representing one or more descendent nodes connected to said node based, at least in part, on said indices; and (e) applying (a) through (d) to said descendent nodes to determine numerals representing remaining descendent nodes, wherein each frontier node of said tree is associated with a label value comprising a non-composite numeral times an integer number of terminal nodes descending from said frontier node.
 71. The apparatus of claim 70, wherein at least some of said numerals are based, at least in part, upon an association of trees and numerals.
 72. The apparatus of claim 70, wherein said one or more processors are further programmed with instructions to: associate numerical label values with at least some nodes or edges in said tree; and associate label values with at least some parent nodes of child nodes based, at least in part, on non-composite numerals derived, at least in part, from label values associated with said child nodes.
 73. The apparatus of claim 72, wherein said one or more processors are further programmed with instructions to prune said child nodes.
 74. The apparatus of claim 72, wherein a numerical label value associated with at least one of said parent nodes is based, at least in part, on a combination of non-composite numerals derived, at least in part, from label values associated with said child nodes.
 75. The apparatus of claim 72, wherein said one or more processors are further programmed to determine said non-composite numerals from an array of non-composite numerals indexed by sequential indices.
 76. The apparatus of claim 70, wherein said one or more processors are further programmed with instructions to represent a parent node as a product of factors associated with one or more subtrees of said parent node.
 77. The apparatus of claim 76, wherein said one or more processors are further programmed with instructions to: represent at least one of said subtrees with at least one numeral according to an association of trees and numerals; and determine at least one of said factors associated with said at least one subtree as at least one non-composite numeral associated with an index in an array of non-composite numerals if a predetermined function of said at least one factor matches an index among indices of said array of non-composite numerals.
 78. The apparatus of claim 76, wherein said one or more processors are further programmed with instructions to: represent at least one of said subtrees with at least one numeral according to an association of trees and numerals; and associate said numeral in said condensed array with a substitute numeral if a predetermined function of said at least one factor does not match an index among indices of an array of non-composite numerals.
 79. The apparatus of claim 78, wherein said substitute numeral comprises a multiple of a predetermined numeral and said predetermined function comprises multiplication of said numeral representing said sub tree by said predetermined numeral.
 80. The apparatus of claim 78, wherein said one or more processors are further programmed with instructions to determine a factor of said product associated with said subtree based, at least in part, on said substitute numeral.
 81. The apparatus of claim 80, wherein said one or more processors are further programmed with instructions to determine said factor based, at least in part, on a natural numeral associated with an index of said array of non-composite numerals, said index corresponding with a function of said substitute numeral.
 82. The apparatus of claim 70, wherein said one or more processors are further programmed with instructions to associate a function of said indices with one or more numerals in said array of non-composite numerals.
 83. The apparatus of claim 70, wherein said tree comprises a BLT.
 84. The apparatus of claim 83, wherein said one or more processors are further programmed with instructions to transform between said BLT and a unary tree.
 85. The apparatus of claim 83, wherein said one or more processors are further programmed with instructions to: associate one or more frontier nodes of said tree with one or more ordered pairs; and associate said one or more ordered pairs with one or more single numerals according to a Cantor pairing function.
 86. The apparatus of claim 85, wherein said one or more processors are further programmed with instructions to associate said one or more single numerals with one or more multiples of a predetermined non-composite numeral in said condensed array.
 87. The apparatus of claim 70, wherein said tree comprises an m-ary labeled tree, and wherein said one or more processors are further programmed with instructions to: associate one or more frontier nodes of said tree with one or more m-dimensional expressions; associate said one or more m-dimensional expressions with one or more single numerals according to a Cantor function; and associate said one or more single numerals with one or more multiples of a predetermined non-composite numeral in said condensed array.
 88. The apparatus of claim 70, wherein said condensed array comprises a fixed size in at least one dimension.
 89. The apparatus of claim 88, wherein said condensed array comprises a plurality of entries associating substitute numerals with substituted numerals.
 90. The apparatus of claim 89, wherein said substituted numerals comprise numerals associated with subtrees according to an association of trees and numerals.
 91. The apparatus of claim 89, wherein said substitute numerals comprise one or more integer multiples of a predetermined non-composite numeral, said integer multiples representing one or more frontier nodes of said tree.
 92. The apparatus of claim 89, wherein said substitute numerals comprise multiples of a predetermined integer, said multiples being associated with larger substituted numerals representative of subtrees. 